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.

Archive /

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

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

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


Reply


5 Posts   1010 Views

Avatar
Hammy

Community Member, 49 Posts

18 November 2008 at 10:47pm

Edited: 19/11/2008 7:25am

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?

Avatar
Hammy

Community Member, 49 Posts

19 November 2008 at 7:29am

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

Avatar
Fuzz10

Community Member, 787 Posts

19 November 2008 at 10:40am

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.

Avatar
Hammy

Community Member, 49 Posts

19 November 2008 at 9:03pm

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.

Avatar
Fuzz10

Community Member, 787 Posts

19 November 2008 at 9:08pm

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