1
LazyBadger
Using random image-sets in theme

For blocktitle I want (and have really) some amount of image-sets, and want to be able select random-set for every block.

Well, with smarty-plugin random selection isn't problem, but... can figure how to remember choice and use rest images from the same set (without assigning smarty-var inside theme - preferred way). I.e - if I have
l-1, m-1, r-1
l-2, m-2, r-2
l-3, m-3, r-3
...
l-n, m-n, r-n
image-packs and define, what current_random=k I had to use
l-k, m-k, r-k (same index)
in all tds for blocktittle

I Can't see good solution. Any hints?

Login

Who's Online

237 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits