View Single Post
  #8  
Old 09-06-2006, 02:04 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Hide breadcrumb on home.php

Quote:
Originally Posted by ecommerce
I want location.tpl (breadcrumb) to only

appear if visitor is looking at a category or product page.

Else,

dont show it.


Is this the right way

skin1/customer/home.tpl


Code:
{if $main eq "catalog" and $current_category.category eq ""}
{else}
{include file="location.tpl"}
{/if}

move the include between the if and else
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote