Quote:
Is there any reason you are doing all this in the template?I understand it's a long way, however, Considering how it needs to be displayed here are few things:
1. About 14 different rand values need be displayed on a detailed page & they need to be random for every listing.
2. Position of rand1 .. to .. rand26 will be different according to weekdays. + Value of keya .. to .. keyz will be different for according to the weekday. (also, both rand & key can't be repeated/duplicate, i.e. in display they have to be unique)
4. Along with this, on detailed.html I also need to add 'additional info' as either 'prefix' or 'suffix' for certain 'key' values for certain listings.
Initially, I considered the idea of having actual values in link properties & randomizing it, however since I need to use them multiple times & actually add additional info (based on link ID) in the output.
I did consider a few other methods, however, based on the requirements, idea mentioned on first post seems like the best way.. but that is where I am stuck & need your help..
If it is not impossible, setting up multiple vars as shown in first post, would be very helpful to achieve what I need to get done.
Thank you.
Vishal
-------------------------------------------------------