| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change bread crumb to start with "Home" not company name | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() This will remove them from the home page and show on any other page
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#12
|
|||||||
|
|||||||
![]() thank you sir
![]()
__________________
x-cart 4.2.3 AlteredCart Smart Search Auto Featured Products Mod (Personal Mod) BCSE Product Importer Pro & Drop Shipper Pro CDSEO Pro CMS EZRecommends EE slider login (Personal Mod) Next Prev Link Mod (Customized) ShadowBox Detailed Images (Personal Mod) Shop By Price (Customized) Social Media (Personal Mod) Switch Layout View (Personal Mod) Special Offers Testimonials (Personal Mod) Whats New (Customized) |
|||||||
#13
|
|||||||
|
|||||||
![]() location.tpl
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
#14
|
|||||||
|
|||||||
![]() 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}
__________________
www.i-point.co.uk www.novelties4parties.co.uk - 4.1.8 www.edworthys.co.uk - 4.1.5 Inkntoner.co.uk - 4.1.8 / 4.7 ROK Universal 4.3 Displaysense - 4.2 Xcart Ver: 4.7.3 |
|||||||
#15
|
|||||||||
|
|||||||||
![]() try this
Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#16
|
|||||||
|
|||||||
![]() 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╒
__________________
X-Cart Pro 4.2.2 |
|||||||
#17
|
|||||||||
|
|||||||||
![]() There must be 100 post on how to do this. Please search. If you can't find it then post a thread.
__________________
xcart 5.1.2 |
|||||||||
#18
|
|||||||||
|
|||||||||
![]() as a matter of fact it in the thread already. read up about 4 or 5 posts.. lol
__________________
xcart 5.1.2 |
|||||||||
#19
|
|||||||
|
|||||||
![]() 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:
__________________
X-Cart Pro 4.2.2 |
|||||||
#20
|
|||||||||
|
|||||||||
![]() In skin1/customer/home.tpl replace the call for breadcrumbs with this
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|