Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » How do you add content types that are not pages to silverstrip?

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 911 Views
  • Hammy
    Avatar
    Community Member
    49 Posts

    How do you add content types that are not pages to silverstrip? Link to this post

    I have a list of content that I wish to add to various pages but not as a page. How do I set set up content holders that are not pages (ie minus the Meta Info, Navigation label etc) but is administrated in the ss admin interface?

    Is there a tutorial or documentation about different page/content types?

  • Hammy
    Avatar
    Community Member
    49 Posts

    Re: How do you add content types that are not pages to silverstrip? Link to this post

    For example, I have a list of promos to appear in the side bar, but these are to lead both internally and to external websites and will not need a page to themselves (hence no need to meta-info).

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: How do you add content types that are not pages to silverstrip? Link to this post

    What I do for stuff like this is add some extra fields to the homepage and organize them in their own little tab in the back-end user-interface.

    See the tutorials for info on how to add fields.

  • Hammy
    Avatar
    Community Member
    49 Posts

    Re: How do you add content types that are not pages to silverstrip? Link to this post

    Hi Fuzz10

    Its a solution but it seems unlogical to have to hide it under a tab on a page. It would be awesome to be able to create a dataobject holder/object that appears in the site map on the left hand side of silverstripes admin but does not necessarily mean its a page.

    I'll give your idea a go as it seems the only option at the moment for what I need.

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: How do you add content types that are not pages to silverstrip? Link to this post

    Personally, I don't think it is any more logical to put these kind of things in the "sitetree" since they are not part of the actual navigation.

    You are free to put these "extra" content items wherever you'd like to put them , you could even create a new "setup extra content" item in the main-menu of Silverstripe if you wanted to (next to CMS / Security / Newsletter etc. etc.).

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