![]() |
Use different design for home and rest of pages
I want to have a unique look for the opening welcome page when the visitor first comes to the site, and then have a different look on the rest of the pages (ie: authentication, search, categories, etc...)
Problem for me is that I set up home.tpl and it seems like the rest of the pages use this template. How do I change them. Which files do I need to change. |
splash page
sounds like all you want is a splash page, does'nt xcart already have one? i took our splash page out
|
X-cart already has index.html file that you could use as a splash page. However, if you're like me and you wish to incorporate other .tpl files in your first page, why not create an alternate home.tpl and name it something like "home1.tpl".
Be sure to place this alternate home.tpl in directory: skin1/customer/ You then would need to go and edit the home.php. You will find this at: x-cart directory/customer/home.php (note that you cannot edit this file in "Admin" mode, you need use a text editor and FTP to your site) At the bottom of the file you will see the following: Quote:
Edit that line to reflect your alternate home.tpl like so: $smarty->display("customer/home1.tpl"); This will allow you to have seperate template load when you visit your x-cart and for home.tpl to be used when shopping begins. Enjoy! Regards, Glen |
Hey thanks alot! That worked like a charm.
|
:D Glad it worked out for you! Be sure to post your final results, I would be interested in seeing it.
Reagrds, Glen |
All times are GMT -8. The time now is 09:49 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.