Forums / Setup & design / header_bg.jpg depending of folder

header_bg.jpg depending of folder

Author Message

Henri Gabolde

Wednesday 05 May 2010 1:39:21 am

Hi,

I build a site divided in 6 headings (folders), and i want to show a different header image for each.

Is it possible ?

Thanks for your help, and sorry for my bad english ;-(

Håkan Bergman

Wednesday 05 May 2010 5:00:14 am

Hello Henri,

Are you using class "folder" for each object heading?
Where do you want to add the image, in the folder.tpl or in another template?

If you add a datatype image to your folder class in setup/classes:edit/content:folder you can add your own image to each object that will show where you want in your folder.tpl template file and thus get the unique image display as you described. You can then modify the image in image.ini.append.php found in settings/siteaccess/<siteacces_name>/image.ini.append.php.

Best regards,

Håkan

Henri Gabolde

Wednesday 05 May 2010 1:43:06 pm

I use class "folder" and i want to add image to the folder.tpl and all the children of this folder.

I shall begin with the folder !

Thank's