I would like to remove the $breadcrumbnav if the user is on the orderform pages. How would I do this?
HTML Code:{if $breadcrumbnav}<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>{/if}
I would like to remove the $breadcrumbnav if the user is on the orderform pages. How would I do this?
HTML Code:{if $breadcrumbnav}<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>{/if}
Try something like:
Code:{if $breadcrumbnav and $filename neq "cart"} <p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p> {/if}
Thanx!
Rob
This code should do what you want.
Code:{if $pagetitle != 'Shopping Cart'} {else} {if $breadcrumbnav}<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>{/if} {/if}
Wouldn't it have to be:Is this going to work for all shopping cart pages? Does pagetitle not change on any of the orderform pages?Code:{if $breadcrumbnav and ($filename neq "cart")} <p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p> {/if}
Thank You, this worked!PHP Code:{if $breadcrumbnav and ($filename neq "cart")}
<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>
{/if}