View Single Post
  #2  
Old 01-26-2005, 07:03 AM
 
gfiebich gfiebich is offline
 

Senior Member
  
Join Date: Feb 2003
Location: St. Paul, MN
Posts: 108
 

Default

Hi Jennifer-
I was in the same boat as you and came up with this (less than elegant) solution:

Code:
{* $Id: location.tpl,v 1.13 2004/05/29 14:21:41 svowl Exp $ *} {if $location} {strip} {section name=position loop=$location} {if $location[position].1 ne "" } <A href="{$location[position].1}" class="BlueLink12" {if %position.last%} style="color: rgb(114, 135, 152);" {/if}> {else} <FONT class="BlueLink12"> {/if} {if $location[position].0 eq $config.Company.company_name} Home {else} {$location[position].0} {/if} {if $location[position].1 ne "" } </A> {else} </font> {/if} {if not %position.last%} <font class="BlueLink12" color="#003366">&gt;</font> {/if} {/section} {/strip} {/if}
The code just compares the current location against $config.Company.company_name and if it finds a match, replaces that text with "Home".

good luck,
Glen
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS
Reply With Quote