| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Random Message or Quote | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I wanted to add a set of messages that randomly displayed in my store.
I adapted this from the code found here: http://gallery.menalto.com/node/27076 Create a directory under skin1 called custom Create a file called random_quotes.tpl in skin1/custom Code:
Create a file in skin1/custom called quotes.inc with one quote per line Code:
Add the following to customer/home.tpl or where ever you want the quotes displayed Code:
Have a Safe and Happy New Year! |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Thanks for the tip! I'm going to try that tomorrow.
I also checked out your site. I bit off topic, but I wanted to say it looks really good! Impressive.
__________________
XCart Gold - 4.0.19 Server using: Debian GNU/Linux with PHP 4.4.0 |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thank you for taking the time to post that nice random clue! It works wonderfully with images, also
![]() Edited to add: I voted for your site on your "Vote for Us" area and WOW was I glad I was a-l-o-n-e when I did *LOL*!
__________________
X-cart Gold 4.1.6 X-affiliate 4.1.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|