![]() |
disabling location.tpl from working on home.php
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 |
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 |
Not pretty but it works....
In /customer/home.tpl look for the line Code:
{include file="location.tpl"} Code:
{if $main eq "catalog" and $current_category.category eq ""} 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. |
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 |
All times are GMT -8. The time now is 12:53 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.