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

remove home from bread crumbs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-09-2008, 02:41 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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?
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 11-09-2008, 08:48 PM
 
Thedae2k Thedae2k is offline
 

eXpert
  
Join Date: Jan 2004
Posts: 288
 

Default Re: remove home from bread crumbs

http://forum.x-cart.com/showthread.php?t=14223&highlight=remove+home+from+ location+bar
__________________
X-Cart Pro 4.1.9
PHP5.2.5
MySQL 5.0.54
IIS/Apache/NGINX Webservers
Reply With Quote
  #3  
Old 11-09-2008, 08:59 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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
__________________
xcart 5.1.2
Reply With Quote
  #4  
Old 11-10-2008, 12:06 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default 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}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #5  
Old 11-10-2008, 01:14 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: remove home from bread crumbs

thanks!!
__________________
xcart 5.1.2
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 02:27 AM.

   

 
X-Cart forums © 2001-2020