Jump to:

23367 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Editing the footer

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 779 Views
  • evsoul
    Avatar
    Community Member
    36 Posts

    Editing the footer Link to this post

    Hi all, pretty basic question here.

    when you put something like

    <div id="footer">
    <% footer %>
    </div>

    Where in the CMS admin panel do you control that content? And can you have something different for it on each page on the site?
    Or does that require further customizing?

    Thanks!

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: Editing the footer Link to this post

    Hi!

    When you put something like that, you’re lucky if the site does not break… ;)

    Some reading: http://doc.silverstripe.org/doku.php?id=templates

    There has been a lot of discussion lately around editing footers and the such in the CMS, you’ll find it easily by searching the forum.

    Regards,
    Juan

  • evsoul
    Avatar
    Community Member
    36 Posts

    Re: Editing the footer Link to this post

    Oh I haven't put that inside the footer div I've just noticed some templates containing that tag inside the div and was curious about it.
    If I recall correctly the black candy default theme uses it.

    Actually after writing this bit, I went and downloaded the black candy theme to check and it's actually

    <% include Footer %>

    Is this not supported?

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: Editing the footer Link to this post

    Sure it’s supported, as long as you have a file called Footer.ss in your Includes folder. All this is explained in the page I gave before.

    Good reading,
    Juan

  • evsoul
    Avatar
    Community Member
    36 Posts

    Re: Editing the footer Link to this post

    heh, maybe I should use the resource you offered. Haha.. I'll read up on that. Thanks a lot for helping a most likely redundant topic!

    779 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.