Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to change label of home link in bread crumbs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-23-2007, 11:41 AM
 
RStoelting RStoelting is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 49
 

Default How to change label of home link in bread crumbs

The default of the bread crumb navigation link appears to be that the first link (to home.php) is labled with the defined company name. I would like to add 'store' to the label so the first link reads 'Company Name Store'. This store is only part of a much larger site. Using the 'company name' alone for the link label can confuse the visitor into thinking they are on our site home page, when they are actually only at the store home page.

Any suggestion for where I can add 'store' to the home.php link?
__________________
Version 4.6.1 Gold [unix]
Reply With Quote
  #2  
Old 07-23-2007, 02:49 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: How to change label of home link in bread crumbs

If you use Webmaster Mode - you'll discover that the breadcrumbs are made by the template file, /skin1/location.tpl

From there, you may want to edit location.tpl

I found some code in the fourm for alternate breadcrumbs...

My location.tpl now looks like this -- yours may or may not work with this.

Code:
{* $Id: location.tpl,v 1.14.2.2 2007/06/18 11:42:03 max Exp $ *} {if $location} {* {strip} *} <span class="NavigationPath"> <a href="/">Home</a>&nbsp;&rarr;&nbsp; {section name=position loop=$location start=1} {if $location[position].1 ne "" }<a href="{$location[position].1|amp}">{/if} {$location[position].0} {if $location[position].1 ne "" }</a>{/if} {if not %position.last%}&nbsp;&rarr;&nbsp;{/if} {/section} </span> {* {/strip} *} {/if}
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 07-23-2007, 05:23 PM
 
RStoelting RStoelting is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 49
 

Default Re: How to change label of home link in bread crumbs

Thanks. That was what I needed. I just did some minor tweaking to get the look I needed.
__________________
Version 4.6.1 Gold [unix]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:10 AM.

   

 
X-Cart forums © 2001-2020