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)
-   -   remove home from bread crumbs (https://forum.x-cart.com/showthread.php?t=43536)

ARW VISIONS 11-09-2008 02:41 PM

remove home from bread crumbs
 
How do I remove the home link from the bread crumbs?

I don't want them to show until the user clicks on a category.

example...

home | cat1 | product 1

to this

cat1 | Prodcut 1

Possible?

Thedae2k 11-09-2008 08:48 PM

Re: remove home from bread crumbs
 
http://forum.x-cart.com/showthread.php?t=14223&highlight=remove+home+from+ location+bar

ARW VISIONS 11-09-2008 08:59 PM

Re: remove home from bread crumbs
 
thatx not what I want. I want the home link in the bread crumbs gone. Not the entire location.tpl gone from the home page.

I want

cat1 | product 1

instead of

home :: cat1 :: product 1

Victor D 11-10-2008 12:06 AM

Re: remove home from bread crumbs
 
change the lines
HTML Code:


{section name=position loop=$location}
{if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if}
{$location[position].0}
{if $location[position].1 ne "" }</a>{/if}
{if not %position.last%}&nbsp;::&nbsp;{/if}
{/section}

in your location.tpl like this:
HTML Code:


{section name=position loop=$location}
{if not  %position.first%}
{if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if}
{$location[position].0}
{if $location[position].1 ne "" }</a>{/if}
{if not %position.last%}&nbsp;::&nbsp;{/if}
{/if}
{/section}


ARW VISIONS 11-10-2008 01:14 AM

Re: remove home from bread crumbs
 
thanks!!


All times are GMT -8. The time now is 02:47 PM.

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