Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

CMS field question

Go to End

2 Posts   877 Views


Community Member, 116 Posts

22 June 2011 at 5:45pm

Hi everyone,

Through our entire site, we're creating a dynamic sidebar that the admin can edit in the CMS on a per-page basis. However, there is one section on the site (all the subpages of one main "Services" page) that will have - in addition to the editable sidebar, a small gallery of thumbnails in the sidebar - which will also be CMS controlled, as the gallery will be different for each page.

I'd really rather not create a new page type for these pages if I can avoid it, as they are fundamentally the same type of content, just with a slightly different layout.

Correct me if I am wrong but there is no way to create new CMS fields on only a subset of pages.

If I am right, and I do end up needing to make these pages a different type, what's the best way to hide this page type from the "Create" dialog, but still allow the subpges of Services to all be GalleryPage types?


Forum Moderator, 1391 Posts

22 June 2011 at 11:49pm

There are a couple of ways you can accomplish this. Do you want to hide the pagetype from the create menu for certain users - or for everyone? In the latter case you won't be able to create them yourself... :-)