| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
breadcrumb navigation | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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) |
|||||||
#2
|
|||||||
|
|||||||
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 |
|||||||
#3
|
|||||||
|
|||||||
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) |
|||||||
#4
|
|||||||
|
|||||||
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 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: breadcrumb navigation
Quote:
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 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: breadcrumb navigation
Wow... Did I offend somebody?
Or is this a hard question?
__________________
Version 4.1.9 |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|