| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Hide breadcrumb on home.php | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Is there a good way to "hide" the breadcrumb on the home.php page?
Thanks |
|||||||||
#2
|
|||||||
|
|||||||
![]() skin1/customer/home.tpl
Code:
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks alot Phil, it worked a treat!
![]() |
|||||||||
#4
|
|||||||
|
|||||||
![]() Works great! on 4 0 18
however, how can we change the "company name" to "Home"? But still keep it as a link.
__________________
X-Cart 4.0.18 DBest |
|||||||
#5
|
|||||||
|
|||||||
![]() Code:
__________________
xcartmods.co.uk |
|||||||
#6
|
|||||||
|
|||||||
![]() phil, ur da man! works good!
except ur code gives arrows. >> between crumbs for those who might not want the arrows and want the :: use {if $location} <FONT class="NavigationPath"> {strip} {section name=position loop=$location} {if $location[position].1 ne "" }<A href="{$location[position].1}" class="NavigationPath">{/if} {if not %position.first%}{$location[position].0}{else}Home{/if} {if $location[position].1 ne "" }</A>{/if} {if not %position.last%}::{/if} {/section} {/strip} </FONT> {/if}
__________________
X-Cart 4.0.18 DBest |
|||||||
#7
|
|||||||
|
|||||||
![]() I want location.tpl (breadcrumb) to only
appear if visitor is looking at a category or product page. Else, dont show it. Is this the right way skin1/customer/home.tpl Code: {if $main eq "catalog" and $current_category.category eq ""} {else} {include file="location.tpl"} {/if}
__________________
X-Cart 4.0.18 DBest |
|||||||
#8
|
|||||||
|
|||||||
![]() Quote:
move the include between the if and else |
|||||||
#9
|
|||||||
|
|||||||
![]() Like this?
Code: {if $main eq "catalog" and $current_category.category eq ""} {include file="location.tpl"} {else} {/if}
__________________
X-Cart 4.0.18 DBest |
|||||||
#10
|
|||||||
|
|||||||
![]() Quote:
you can take out the else if you wanted to as well, but yea |
|||||||
|
|||
X-Cart forums © 2001-2020
|