X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Breadcrumb Mystery (https://forum.x-cart.com/showthread.php?t=21920)

DogByteMan 05-19-2006 12:04 PM

Breadcrumb Mystery
 
How might I alter location.tpl to link my company name breadcrumb to index.html instead of home.php?

DogByteMan 05-20-2006 06:02 AM

OK since no one knows how to do the above.... How about can anyone tell me how to just leave the home.php link off the breadcrumb menu all together? At least then I could insert code to do what I want.

hooter 05-20-2006 06:49 AM

Re: Breadcrumb Mystery
 
Quote:

Originally Posted by DogByteMan
How might I alter location.tpl to link my company name breadcrumb to index.html instead of home.php?


Please try this by editing this section of your /skin1/location.tpl
Code:

{if $location[position].1 ne "" }
{if $location[position].0 ne $config.Company.company_name}
<A href="{$location[position].1}" class="NavigationPath">
{else}
<a href="{$http_location}/index.html" class="NavigationPath">
{/if}
{/if}


DogByteMan 05-20-2006 09:57 AM

That did it...

Thanks

Debra 05-30-2006 09:20 AM

How can I take home.php completely out of location.tpl? Here's my location.tpl:

Code:

{* $Id: location.tpl,v 1.13 2004/05/29 14:21:41 svowl Exp $ *}

<td width="4"></td><td>
{if $location}
<FONT class="NavigationPath">
{strip}
You Are Here: {section name=position loop=$location}
{if $location[position].1 ne "" }<A href="{$location[position].1}" class="NavigationPath">{/if}
{$location[position].0}
{if $location[position].1 ne "" }</A>{/if}
{if not %position.last%}>{/if}
{/section}
{/strip}
</FONT>


{/if}


...Thanks!

smithlarry 08-24-2006 11:56 AM

Re: Breadcrumb Mystery
 
How would you do this in 4.0.18? Location tpl is not the same.


All times are GMT -8. The time now is 12:02 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.