![]() |
TelaFirma's and Balinor's mods works great in version 4.0.17.
for any noobs, Balinor's mod goes in customer/home.tpl thanks! |
Balinor,
Where exactly in the location.tpl does this code you mention go? {if $main eq "catalog" and $current_category.category eq ""} {else} {include file="location.tpl"}{/if} After what and before what? |
Webtron,
You can use it this way... {if $main eq "catalog" and $current_category.category eq ""} {else if $location} <FONT class="NavigationPath"> {strip} Home:: {section name=position loop=$location start=1} {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} |
Re: location.tpl - change company name
From TelaFirma intitial reply to initial thrread:
Quote:
I tried this code and it worked FAIRLY well. One problem, it does not allow previous pages visited in the breadcrumbs to be hyperlinked. How do I fix this? Thanks! |
Re: location.tpl - change company name
That is, the "Home" portion of the breadcrumbs is not hyperlinked.
|
Re: location.tpl - change company name
Quote:
just wrap the "home" portion in a hyperlink...<a href="{$http_location}/">Home::</a> |
Re: location.tpl - change company name
Here is my variation, which allows for a hyperlinked, language-dependent home:
(in addition to txt_site_name, I've got txt_home, just in case) Quote:
|
Re: location.tpl - change company name
Mine looks like this in 4.1.9....
<font color="#FFFFFF"> {if $location} {strip} <a href="home.php" class="NavigationPath"> Home</a> > {section name=position loop=$location start=1} {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} {/if} </font> |
Re: location.tpl - change company name
When I try to do this I get the following error:
"Error File operation is failed." Anyone know what I'm doing wrong? Thanks Quote:
|
Re: location.tpl - change company name
Yeah, you are using version 4.2. This mod is for previous versions.
See http://forum.x-cart.com/showthread.php?t=45583 |
All times are GMT -8. The time now is 12:33 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.