View Single Post
  #4  
Old 10-27-2007, 03:49 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: breadcrumb navigation

Another good tip with breadcrumbs is to hide them in places where they aren't necessary, like the checkout, home page, etc. You can surround the location.tpl include with {if} statements to do that. For example, to hide it on the home page, cart and checkout, I use this:

{if $main eq "catalog" and $current_category.category eq "" or $smarty.get.mode eq "order_message" or $smarty.get.mode eq "checkout" or $main eq "cart"}{else}
{include file="location.tpl"}{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote