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:

Template Questions /

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

Common footer for all pages


Go to End


2 Posts   1380 Views

Avatar
DeklinKelly

Community Member, 197 Posts

29 May 2009 at 8:38pm

I want to place all the XHTML for the footer of my website in a file called \templates\Includes\PageFooter.ss

How can I include this code in my page templates?

Avatar
Taffy

Community Member, 119 Posts

29 May 2009 at 9:26pm

In \templates\page.ss

<div id="Footer">
<% include PageFooter %>
</div>