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

Breadcrumb question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-28-2008, 12:04 AM
 
karentown karentown is offline
 

Senior Member
  
Join Date: Apr 2005
Posts: 129
 

Default Breadcrumb question

I am a bit stuck and would appreciate any help you could offer

I dont know how to point my breadcrumbs so that the main one doesnt point to home.php but to another html page. Is that possible?

The reason I ask is that the client wanted to look and feel of the home page to be so out of the box that I am basically not using the home.php page at all but a html page .... BUT now when we are in product areas the breadcrumb trail still points to the home.php ...

I hope that makes sense?

Thanks
__________________
Running stores using the following:

2@ Version 4.0.19
2@ Version 4.1.9
1@ Version 4.1.11
Reply With Quote
  #2  
Old 10-28-2008, 05:48 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Breadcrumb question

Does the "home.html" page have products and any categories listed? If not, it doesn't make much sense, as it is the same as having the customer go to the default x-cart "enter store"(index.html) page.

To answer your question....
in skin1/location.tpl
find

{if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if}

and change it to read

{if $location[position].1 ne "" }{if $location[position].0 ne $config.Company.company_name}<a href="{$location[position].1}" class="NavigationPath">{else}<a href="YOUR HOME.HTML" class="NavigationPath">
{/if}{/if}

Changing "YOUR HOME.HTML" to the url of the html page you want. Please note I have not tested this, but it should work.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 10-28-2008, 05:58 AM
 
karentown karentown is offline
 

Senior Member
  
Join Date: Apr 2005
Posts: 129
 

Default Re: Breadcrumb question

Yes, it does and that worked PERFECTLY ... thank you so much!!
__________________
Running stores using the following:

2@ Version 4.0.19
2@ Version 4.1.9
1@ Version 4.1.11
Reply With Quote
  #4  
Old 11-09-2008, 11:14 AM
 
koz koz is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 88
 

Default Re: Breadcrumb question

had a 'miss hap' while i was upgrading to .11 and had to go back an re apply a few patches. This was one I was missing.

I use www.mydomain.com for my store, so i just changed "YOUR HOME.HTML" to "/" and it's now going great.
__________________
Version 4.4.3 & 4.2.2
FreeBSD
P4 3.2 4 gig ram 300 gig SATA
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 03:53 PM.

   

 
X-Cart forums © 2001-2020