| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Random template ? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Random template ?
Say I have 3 different designs of my head.tpl template...
head1.tpl, head2.tpl, head3.tpl Does anyone know the code to randomise them in customer/home.tpl so that a different one is displayed each time? Thanks PhilJ |
|||||||
#2
|
|||||||
|
|||||||
Hi Phil
I would say that the code for this would be very similar to that used in the random image thread. Cant remember the post number but a search on random image will bring it up.
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
I used this thread:
http://forum.x-cart.com/viewtopic.php?t=6321 So I added the Smarty random plugin which brings up a random number fine. Code:
so I tried Code:
but it gives me an error. What am I doing wrong? |
|||||||
|
|||
X-Cart forums © 2001-2020
|