X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Breadcrumb question (https://forum.x-cart.com/showthread.php?t=43280)

karentown 10-28-2008 12:04 AM

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 :)

JWait 10-28-2008 05:48 AM

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.

karentown 10-28-2008 05:58 AM

Re: Breadcrumb question
 
Yes, it does and that worked PERFECTLY ... thank you so much!!

koz 11-09-2008 11:14 AM

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.=D>


All times are GMT -8. The time now is 07:33 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.