22402 Posts in 6882 Topics by 2748 members
|Go to End|
18 February 2010 at 9:50am
Hi all, pretty basic question here.
when you put something like
<% footer %>
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?
18 February 2010 at 10:40am Last edited: 18 February 2010 10:41am
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.
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?
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.
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!
|Go to Top|