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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Including "global content" in a template


Go to End


1269 Views

Avatar
superautomatic

Community Member, 53 Posts

10 June 2008 at 8:20pm

Edited: 10/06/2008 8:28pm

Hi,
If I want to have editable but sitewide content (for example a footer) included on every page, what's the best way to achieve this?
Of course I can include a static file with <% include filename %>, but is it possible to import a page or an editable content block or something like that?