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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

Customs filelds in top menu

Go to End

2 Posts   1078 Views


Community Member, 3 Posts

23 July 2009 at 6:24am

I want to make editable header and footer. I sholud have new tab in top silvewrstripe menu, and in drop down menu options - footer and header, after clicking on them silverstripe should load html editor with my editable footer and header. This options are global, and not connected with any instance of any page.

Is it possible to do something like this? Where should I save the data, and where program the forms to edit this footer and header?


Community Member, 45 Posts

24 July 2009 at 7:40am

not sure if you want to go about it in this way, but i have done this numerous times.

create a hidden document at the root of your site as a container (this is not necessary, but organizationally nice) called "site resources", then you can create child pages (hidden) under there and use these pages to contain your header and footer data (either use the standard content field or custom fields for other data types).

+ site resources
++ header
++ footer
++ something else

you can then call these pages by name in your template and pull in the content from this page as your header.