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

Hide breadcrumb on home.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 09-06-2006, 06:02 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: Hide breadcrumb on home.php

thanks man.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #12  
Old 09-07-2006, 11:12 AM
 
infinity773 infinity773 is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: Hide breadcrumb on home.php

{if $main eq "catalog" and $current_category.category eq ""}
{include file="location.tpl"}
{else}
{/if}

its not working for me...
I have location on main home page and its gone from others pages...
and I need to delete it just from home page...

thanx
__________________
Version 4.5.2
Reply With Quote
  #13  
Old 09-07-2006, 11:21 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: Hide breadcrumb on home.php

{if $main eq "catalog" and $current_category.category ne ""}
{include file="location.tpl"}
{else}
{/if}

try the above and let me know.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #14  
Old 09-07-2006, 11:37 AM
 
infinity773 infinity773 is offline
 

Member
  
Join Date: Sep 2006
Posts: 25
 

Default Re: Hide breadcrumb on home.php

Thanx... now better...
only one problem - location gone from products pages...

So I have it on categories and subs pages and its gone from home page and products pages...

I would like to have it on products pages...

thanx...
__________________
Version 4.5.2
Reply With Quote
  #15  
Old 09-12-2006, 06:31 PM
 
MichelleT MichelleT is offline
 

Member
  
Join Date: Jul 2006
Posts: 10
 

Default Re: Hide breadcrumb on home.php

Thanks for the code, but does anyone know how to get rid of the line breaks that are left over on the homepage where the breadcrumb used to be?
__________________
XCart 4.1.10
Reply With Quote
  #16  
Old 09-15-2006, 02:11 PM
 
justme justme is offline
 

Member
  
Join Date: Jul 2004
Location: Western New York State, USA
Posts: 28
 

Default Re: Hide breadcrumb on home.php

To add breadcrumbs to the products page....

In File: /customer/main/product.tpl

Directly below this line:
{* $Id: product.tpl,v 1.96.2.22 2005/06/03 05:46:02 mclap Exp $ *}

Add this:
{include file="location.tpl"} <br><br>


justme
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:49 AM.

   

 
X-Cart forums © 2001-2020