Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » CMS field question

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

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

Page: 1
Go to End
Author Topic: 688 Views
  • DanStephenson
    Community Member
    115 Posts

    CMS field question Link to this post

    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?

  • martimiz
    Forum Moderator
    1086 Posts

    Re: CMS field question Link to this post

    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...

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.