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.

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

Managing global elements in the tree that are not pages

Go to End

2 Posts   721 Views


Community Member, 10 Posts

12 September 2011 at 8:12am

I've worked on other CMS's before and this is my first SS project. Is there a notion or creating PHP classes/models that map to fields in the back-end that don't necessarily map to a page? For example, creating global elements that are more of settings? For example, can I create a node in the tree called Main Nav and sub-nodes that solely represent nav links? These won't necessarily be pages though, but I would want to code my global template to call on these when making the top-level navigation. Does that make sense?

Also, FYI, I'm using SS 2.3.11, not the latest, because I need to use the Event Calendar module which is for that version.


Forum Moderator, 1899 Posts

12 September 2011 at 8:54pm

Edited: 12/09/2011 8:55pm

Probably the Siteconfig...

But maybe ModelAdmin...

(oh and I've limited experiences with the event calendar - but it seems to work fine with 2.4.5)