WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: gila on March 18, 2008, 04:26:57 PM

Title: assign a different background to any page
Post by: gila on March 18, 2008, 04:26:57 PM
Hi, i have to assign a different bakcground image in every page i want, the only way is to use a different template to every page? the pages are more than 100 !!!  :-o

there are a module, a snippet doing something?

thanks.
Title: Re: assign a different background to any page
Post by: marathoner on March 18, 2008, 04:34:38 PM
This has been addressed many times on the forum. Please do a search for this information. You might want to look into the randomimage snippet but only if the image is to be random.
Title: Re: assign a different background to any page
Post by: gila on March 18, 2008, 05:15:14 PM
i have serched with "background image" key before posts but there are no results and the image is not random.

 :|
Title: Re: assign a different background to any page
Post by: marathoner on March 18, 2008, 07:16:53 PM
Maybe something less specific would yield some useful information. For example, search "different image page" will locate several threads with info that you might want to read.

Just a quick thought, you could modify your template such that page_id=1 would display image1, page_id=2 would display image2, etc. Then have a default image that is displayed in the event that a specific image doesn't exist for a given page_id.