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

breadcrumb navigation

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-27-2007, 02:44 PM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default breadcrumb navigation

Hi all ,

Wondering if there is a way to move the location the breadcrumb navigation comes up on the page.
I still want it on the page but just in a different location. ( near my tab section)

I thought I might be able to {*location.tpl *} where it currently resides and then paste it into the area I want it to appear.

I looked in the customer/subcategories/tpl, and the customers/home_main.tpl
but could not find anything there that mentioned the location.tpl

Is this something I can do, or is it a bad idea to try and move to another location.

Many thanks to any and all for the help.

Scott V
4.18
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
  #2  
Old 10-27-2007, 03:09 PM
 
balinor balinor is offline
 

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

Default Re: breadcrumb navigation

Location.tpl is in customer/home.tpl. I sometimes move it into a row in the header, but it can get really long if you have lots of sub-cats, so be careful where you move it to.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-27-2007, 03:39 PM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default Re: breadcrumb navigation

Thanks buddy, you are the best!

Thats exactly where I was thinking about putting it.
I hear what your saying about the subcats but think I should be ok, as it is pretty limited.
Best
Scott V
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
  #4  
Old 10-27-2007, 03:49 PM
 
balinor balinor is offline
 

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

Default Re: breadcrumb navigation

Another good tip with breadcrumbs is to hide them in places where they aren't necessary, like the checkout, home page, etc. You can surround the location.tpl include with {if} statements to do that. For example, to hide it on the home page, cart and checkout, I use this:

{if $main eq "catalog" and $current_category.category eq "" or $smarty.get.mode eq "order_message" or $smarty.get.mode eq "checkout" or $main eq "cart"}{else}
{include file="location.tpl"}{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-25-2008, 06:00 AM
  roc's Avatar 
roc roc is offline
 

Member
  
Join Date: Jan 2008
Posts: 13
 

Default Re: breadcrumb navigation

Quote:
Originally Posted by balinor
Another good tip with breadcrumbs is to hide them in places where they aren't necessary, like the checkout, home page, etc. You can surround the location.tpl include with {if} statements to do that. For example, to hide it on the home page, cart and checkout, I use this:

{if $main eq "catalog" and $current_category.category eq "" or $smarty.get.mode eq "order_message" or $smarty.get.mode eq "checkout" or $main eq "cart"}{else}
{include file="location.tpl"}{/if}

I have a question. Let me lay the foundation before I ask it.

Ok, I have added 4 static pages, let's call them P1, P2, P3 and P4. P2 has become my NEW Help Zone page because I didn't want the default Help Zone pages and the formatting was tricky with text colors and background colors. Now, the default Help Zone page had some pages that I wanted to keep (i.e. Recover Password, Privacy Statement, etc.) so I used the links to those pages on my P2 static page. So, my P2 page now has links to some static pages and some default (built-in x-cart) pages. That's the foundation.

Ok here is my problem - When a customer goes to my P2 page and clicks on one of the default pages (built-in x-cart) they are now on a non-static page. The "breadcrumb" however shows the trail to the default Help Zone page with a link to the default Help Zone page. What I need to do is change the beardcrumb link for the default Help Zone items to point to my P2 page.

Does this make sense? If so can you or anyone assist me in accomplishing this?
__________________
Version 4.1.9
Reply With Quote
  #6  
Old 03-01-2008, 11:29 AM
  roc's Avatar 
roc roc is offline
 

Member
  
Join Date: Jan 2008
Posts: 13
 

Default Re: breadcrumb navigation

Wow... Did I offend somebody?

Or is this a hard question?
__________________
Version 4.1.9
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 09:30 PM.

   

 
X-Cart forums © 2001-2020