View Single Post
  #6  
Old 04-11-2008, 04:52 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

Another quick rehash at the tpl level, but this time to specifically remove the product name on just the product page...

PHP Code:
{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> &gt; {/if}
{elseif 
not $product}
{if 
$location[position].1 ne "" }<a href="{$location[position].1|amp}class="NavigationPath">{/if}
{
$location[position].0}
{if 
$location[position].1 ne "" }</a> &gt; {/if}
{/if}
{/
section}
{/
strip

Might want to clean up the if statements though. Some of the section's attributes might produce cleaner code but unable to make it work at the moment.
__________________
Doms
kube v4.1.9
Reply With Quote