Hi, I'd like to have a different header image in each page of my site. The header informations are in the template, and I can't pass them into the content of the single pages. Do I need to define a "user defined tag"?
Would it be possible to add to the "edit content page" a field to define which image to use on that page?
Do I need to use the "Smarty data or logic that is specific to this page" box (under the "Option" label)?
Thankyou for any help!
[solved] Different header image on each page
[solved] Different header image on each page
Last edited by Eleco on Wed Nov 04, 2009 7:34 am, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Different header image on each page
Please do a search, this has been answered numerous times before.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Different header image on each page
I've done many searches before posting, but obviously I can't figure out the right keywords...
I'll try some more. Anyway any help (on keywords too) will be apreciated...
I'll try some more. Anyway any help (on keywords too) will be apreciated...
-
Connie
Re: Different header image on each page
Just do it like that:
1st possibility: define a new content block in your template and in each page add a picture into that contentblock
2nd possibility: if you do not want to have pictures on each page, define two different templates, one with that additional contentblock and one without that (maybe with a standard image there)
so you can decide for each page whether you want to integrate a special image or keep the page without image
see here: http://wiki.cmsmadesimple.org/index.php ... ent_Blocks
1st possibility: define a new content block in your template and in each page add a picture into that contentblock
2nd possibility: if you do not want to have pictures on each page, define two different templates, one with that additional contentblock and one without that (maybe with a standard image there)
so you can decide for each page whether you want to integrate a special image or keep the page without image
see here: http://wiki.cmsmadesimple.org/index.php ... ent_Blocks
Re: Different header image on each page
Yeah! Content blocks! That's what I was looking for!
Thankyou Connie and thankyou Baresi too (nice solution you suggested me, but I needed something easier!)
I'll work on this now. Ciao!
Thankyou Connie and thankyou Baresi too (nice solution you suggested me, but I needed something easier!)

