View Single Post
  #5  
Old 04-11-2008, 03:39 AM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Remove product title in location.tpl

Quote:
Originally Posted by qrichou
So is there a way of hiding the product title in the breadcrumb but showing it in the page titles?

A quick rehash (including warts and all) of location.tpl for you...

PHP Code:
{if $location}
<
font class="NavigationPath">
{
strip}
{
section name=position loop=$location}
{if 
not %position.last%}
{if 
$location[position].1 ne "" }<a href="{$location[position].1|amp}class="NavigationPath">{/if}
{
$location[position].0}
{if 
$location[position].1 ne "" }</a>{/if} &gt; {/if}
{/
section}
{/
strip}
</
font>
<
br /><br />
{/if} 

Hope this helps.
==========================
Edit: Note: It will always remove the current area. For example, it will remove the breadcrumb from the home page or the current category you reside in on a page.
__________________
Doms
kube v4.1.9
Reply With Quote