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

Remove Location Breadcrumbs from Home

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 05-26-2008, 11:27 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: Remove Location Breadcrumbs from Home

Quote:
Originally Posted by Jon
Note for products, there may be instances where $products.productid is defined and the user is not on the product page, so it is better to use this for product pages only:

{if $main eq "product"}
{include file="location.tpl"}
{/if}

Guys,
I want the breadcrumb to appear ONLY in the catergories pages
and in the products pages.

What would be the code?

Thanks
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #12  
Old 05-26-2008, 11:30 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Remove Location Breadcrumbs from Home

{if $main eq "product" OR ($main eq "catalog" AND $current_category.categoryid gt 0)}
{include file="location.tpl"}
{/if}
Reply With Quote
  #13  
Old 05-26-2008, 05:19 PM
 
merbay merbay is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 42
 

Default Re: Remove Location Breadcrumbs from Home

Thanks to Kshock for such easy to follow directions for a newbie!
__________________
merbay
4.1.9
Reply With Quote
  #14  
Old 05-26-2008, 08:36 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: Remove Location Breadcrumbs from Home

Thanks JON!
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #15  
Old 10-08-2008, 12:26 AM
 
bpearch bpearch is offline
 

Newbie
  
Join Date: Oct 2004
Posts: 7
 

Default Re: Remove Location Breadcrumbs from Home

Thanks for the Mod, should be standard on x-cart gives the first page a really good look
Thanks again Colin
www.jollybranding.co.uk
www.coolblades.co.uk
__________________
X-Cart Gold Version 4.1.11
Reply With Quote
  #16  
Old 10-08-2008, 06:11 AM
  JWait's Avatar 
JWait JWait is offline
 

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

Default Re: Remove Location Breadcrumbs from Home

There are things that should be standard, and things that shouldn't. This is one of the latter. It is easy enough to modify the way it is if you want, and would be difficult to figure out where to add it if you don't think it gives the first page "a really good look".

And to Ashley... ne is "not equal".
__________________
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
  #17  
Old 10-10-2008, 08:51 AM
 
royng royng is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 85
 

Default Re: Remove Location Breadcrumbs from Home

Thanks! Kshock http://forum.x-cart.com/images/statusicon/user_offline.gif vbmenu_register("postmenu_83256", true);

U are better than the support desk!
__________________
X-Cart DB Version: 4.1.11 GOLD
Reply With Quote
  #18  
Old 10-10-2008, 10:07 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 Location Breadcrumbs from Home

Quote:
Originally Posted by JWait
There are things that should be standard, and things that shouldn't. This is one of the latter. It is easy enough to modify the way it is if you want, and would be difficult to figure out where to add it if you don't think it gives the first page "a really good look".

And to Ashley... ne is "not equal".

Ummm... I made that post in February. I figured it out since then. but thanks anyways.

__________________
xcart 5.1.2
Reply With Quote
  #19  
Old 04-07-2009, 10:53 AM
  DOD467's Avatar 
DOD467 DOD467 is offline
 

Member
  
Join Date: Apr 2008
Posts: 16
 

Default Re: Remove Location Breadcrumbs from Home

what if you wanted to replace the breadcrumbs with the word "Welcome!" on the home page?

{if $main ne "catalog" or $current_category.category ne ""}
{include file="location.tpl"}
{/if}
Reply With Quote
  #20  
Old 04-07-2009, 11:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Remove Location Breadcrumbs from Home

{if $main eq "catalog" and $current_category.category eq ""}
Welcome!
{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 04:19 AM.

   

 
X-Cart forums © 2001-2020