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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

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

change head image depending on selected page


Go to End


2 Posts   2081 Views

Avatar
bitseeker

Community Member, 1 Post

13 May 2009 at 1:32am

Hi there,

i´m new to SS/MVC and was wondering how to manage to change the header image (blackcandy theme) depending on the page the user selects in the menu? E.g. on 'homepage' you will see headerTop.png, on 'about' headerTop2.png and so on...

thx bitseeker

Avatar
Fuzz10

Community Member, 791 Posts

13 May 2009 at 10:02pm

There are multiple ways of doing that , did you search the forum ? I'm sure there are multiple threads about this subject...

Here's one :
http://www.silverstripe.org/template-questions/show/254016#post254016