Jump to:

3434 Posts in 1026 Topics by 866 members

Template Questions

SilverStripe Forums » Template Questions » Common footer for all pages

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

Page: 1
Go to End
Author Topic: 953 Views
  • DeklinKelly
    Avatar
    Community Member
    197 Posts

    Common footer for all pages Link to this post

    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?

  • Taffy
    Avatar
    Community Member
    119 Posts

    Re: Common footer for all pages Link to this post

    In \templates\page.ss

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

    953 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.