21309 Posts in 5738 Topics by 2603 members
General Questions
SilverStripe Forums » General Questions » Managing global elements in the tree that are not pages
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 269 Views |
-
Managing global elements in the tree that are not pages

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.
-
Re: Managing global elements in the tree that are not pages

12 September 2011 at 8:54pm Last edited: 12 September 2011 8:55pm
Probably the Siteconfig...
http://www.ssbits.com/tutorials/2010/2-4-working-with-siteconfig/
But maybe ModelAdmin...
http://www.silverstripe.org/making-a-crm-with-modeladmin-in-silverstripe-230/
(oh and I've limited experiences with the event calendar - but it seems to work fine with 2.4.5)
| 269 Views | ||
|
Page:
1
|
Go to Top |


