![]() |
Re: Change bread crumb to start with "Home" not company name
This will remove them from the home page and show on any other page
Code:
{if $main ne "catalog" || $current_category.category ne ""} |
Re: Change bread crumb to start with "Home" not company name
thank you sir :)
|
Re: Change bread crumb to start with "Home" not company name
location.tpl
|
Re: Change bread crumb to start with "Home" not company name
Hi
We do not want to show the product as the last item on the breadcrumb, so have commented this out as you will see from the script below. However, now the last item, isnt the last item in the variable. Hence the seperator always shows and I cant style the last one seperately. Can anyone help with what changes I need to apply to the PHP to remove the product as the last one in the loop. Thanks {if $location} <div id="location" style="padding-left:10px;"> {foreach from=$location item=l name=location } {if $l.1 && !$smarty.foreach.location.last} <a href="{$l.1|amp}" class="bread-crumb {if $smarty.foreach.location.last} last-bread-crumb{/if}">{if $smarty.foreach.location.first}Home{else}{$l.0|esc ape}{/if}</a> {else} {* <font class="bread-crumb{if $smarty.foreach.location.last} last-bread-crumb{/if}">{$l.0|escape}</font> *} {/if} {if $smarty.foreach.location.last neq "1"} <span>>></span> {else} {/if} {/foreach} </div> {/if} |
Re: Change bread crumb to start with "Home" not company name
try this
Code:
{if $location} |
Re: Change bread crumb to start with "Home" not company name
To sort of piggy-back on this thread. Is there any possible way to not display the breadcrumbs on the index only? It makes no sense to have breadcrumbs on the index page... just my 2╒
|
Re: Change bread crumb to start with "Home" not company name
There must be 100 post on how to do this. Please search. If you can't find it then post a thread.
|
Re: Change bread crumb to start with "Home" not company name
as a matter of fact it in the thread already. read up about 4 or 5 posts.. lol
|
Re: Change bread crumb to start with "Home" not company name
Quote:
Instead of creating 100 + 1 threads on the subject I thought I would ask in an existing thread because I've tried the methods described previously (including the one in THIS thread) and have not had any luck with it. So, instead of chastising me, it would be more productive to only respond if you have something helpful to say. Please don't treat me like I'm a forum newbie just because I'm new to THESE forums. To clarify this solution does NOT work for me Code:
{if $main ne "catalog" || $current_category.category ne ""} |
Re: Change bread crumb to start with "Home" not company name
In skin1/customer/home.tpl replace the call for breadcrumbs with this
Code:
{if $main ne "catalog" || $current_category.category ne ""} |
All times are GMT -8. The time now is 08:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.