Hi
We have four wallpaper-style images that we need to theme a site with. Each image is carved into three (eg Wallpaper1A.jpg, Wallpaper1B.jpg, Wallpaper1C.jpg, Wallpaper2A.jpg, Wallpaper2B.jpg, Wallpaper2C.jpg) to display within three templates (Header, LeftSidebar, RightSidebar) which are includes on each page.
Is there a way in EE to use PHP to output a random value between 1 and 4 and have this value remain the same across all 3 templates? I’ve tried a few solutions including assigning the value of a Variable B to Variable A, with Variable A value set to random, but can’t get this to work across separate templates.
I’m guessing that path.php might be where the solution goes but that’s as far is i’ve got.
Thanks for any help