| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
disabling location.tpl from working on home.php | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi
I would like it that location.tpl does not work on home.php but through the rest of the site as usual. I noticed many xcart sites where this happens. eg this site http://www.signaturejewelers.com/xcart/customer/home.php You will see there is no location.tpl showing but at http://www.signaturejewelers.com/xcart/customer/home.php?cat=252 location.tpl works as it should So location.tpl has been disabled ONLY at home.php. Anyone can assist here? Cheers Chris Australia |
|||||||
|
#2
|
|||||||
|
|||||||
|
I think my answer has been posted in an earlier discussion under
How do I take the breadcrumb trails off the home page only? I shall give it a try....unless there is a better answer. Cheers Chris |
|||||||
|
#3
|
|||||||||
|
|||||||||
|
Not pretty but it works....
In /customer/home.tpl look for the line Code:
Code:
This will also give you the option of inserting something else right before the {else} if you wanted to include something besides the location.tpl rather than just not displaying it at all. |
|||||||||
|
#4
|
|||||||
|
|||||||
|
Hi TelaFirma
Much appreciated. Did the job! Got my demo up and now I have 5 carts waiting from clients. Am on steep and speedy learning curve. Fortunately clients don't want them alll tomorrow! Chrees Chris Australia |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||