Hello everyone,
I'm trying to achieve a design layout in which rotate.php plays quite a central role. The idea is to accomplish a design effect on the template by using roating header AND footer images. I've created a footer dir with a rotate.php clone and the footer images inside. All works without conflict and I have images in the header and footer rotating by default. Now to fully achieve what I want, I need the images to rotate in a preset cycle. Example file 01.jpg -> 02.jpg -> 03.jpg and so on in a loop. Such rotating pattern is needed so when the page refreshes, the image 01.jpg for the header and 01.jpg for the footer load in pairs to give me the desired design effect.
Since my coding skills stop at xhtml/css level it's beyond me to write a php function for this, so if anyone feels like giving me a hand on this, I'll really appreciate it.
Tunox
Comments
Comment #1
Tunox commentedSince I've been reading and learning a lot about PHP recently, I came into the conclusion that the feature I was asking above it's impossible to be achieved without the use of sessions and cookies. Since this it's not the purpose of rotate.php included in the template, I guess it's out of Marinelli's project scope. Maybe one day when I'll feel comfortable to toy around with Drupals session's IDs and cookies I'll come back and make a patch for it.
Consider this issue closed.
Thanks