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.

General Questions /

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

Editing the footer


Reply


5 Posts   886 Views

Avatar
evsoul

Community Member, 36 Posts

18 February 2010 at 9:50am

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!

Avatar
Juanitou

Community Member, 323 Posts

18 February 2010 at 10:40am

Edited: 18/02/2010 10:41am

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

Avatar
evsoul

Community Member, 36 Posts

18 February 2010 at 10:44am

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?

Avatar
Juanitou

Community Member, 323 Posts

18 February 2010 at 11:25am

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

Avatar
evsoul

Community Member, 36 Posts

18 February 2010 at 11:27am

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!