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

Breadcrumb Mystery

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-19-2006, 12:04 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default Breadcrumb Mystery

How might I alter location.tpl to link my company name breadcrumb to index.html instead of home.php?
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #2  
Old 05-20-2006, 06:02 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

OK since no one knows how to do the above.... How about can anyone tell me how to just leave the home.php link off the breadcrumb menu all together? At least then I could insert code to do what I want.
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #3  
Old 05-20-2006, 06:49 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default Re: Breadcrumb Mystery

Quote:
Originally Posted by DogByteMan
How might I alter location.tpl to link my company name breadcrumb to index.html instead of home.php?

Please try this by editing this section of your /skin1/location.tpl
Code:
{if $location[position].1 ne "" } {if $location[position].0 ne $config.Company.company_name} <A href="{$location[position].1}" class="NavigationPath"> {else} <a href="{$http_location}/index.html" class="NavigationPath"> {/if} {/if}
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #4  
Old 05-20-2006, 09:57 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

That did it...

Thanks
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #5  
Old 05-30-2006, 09:20 AM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default

How can I take home.php completely out of location.tpl? Here's my location.tpl:

Code:
{* $Id: location.tpl,v 1.13 2004/05/29 14:21:41 svowl Exp $ *} <td width="4"></td><td> {if $location} <FONT class="NavigationPath"> {strip} You Are Here: {section name=position loop=$location} {if $location[position].1 ne "" }<A href="{$location[position].1}" class="NavigationPath">{/if} {$location[position].0} {if $location[position].1 ne "" }</A>{/if} {if not %position.last%}>{/if} {/section} {/strip} </FONT> {/if}

...Thanks!
__________________
X-Cart version 4.0.14
Reply With Quote
  #6  
Old 08-24-2006, 11:56 AM
  smithlarry's Avatar 
smithlarry smithlarry is offline
 

Advanced Member
  
Join Date: May 2005
Location: Blairs, VA USA
Posts: 31
 

Default Re: Breadcrumb Mystery

How would you do this in 4.0.18? Location tpl is not the same.
__________________
BrotherSmith
Xcart Version 4.5.4
Xpayments 1.0.5
Adapt Template
ECC intergration
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 08:18 AM.

   

 
X-Cart forums © 2001-2020