I'm using the default Smart Breadcrumbs code but for some reason it's now duplicating the page name that it land on
becomes
when it should be
Only the breadcrumb token is being used
Thoughts?
Leslie
Code:
<ul> <li><a href="&mvt:breadcrumbs:homelink;" class="breadcrumb-home">Home</a><span class="breadcrumb-border">»</span></li> <mvt:foreach iterator="cats" array="breadcrumbs:links"> <mvt:if expr="l.settings:cats:name EQ '...'"> <li><span class="cats-hidden">&mvt:cats:name;</span><span class="breadcrumb-border">»</span></li> <mvt:elseif expr="l.settings:cats:code EQ l.settings:breadcrumbs:current_item:code"> <li><span class="current-item">&mvt:cats:name;</span></li> <mvt:else> <li><a href="&mvt:cats:link;">&mvt:cats:name;</a><span class="breadcrumb-border">»</span></li> </mvt:if> </mvt:foreach> </ul> <div class="clear"></div>
when it should be
Code:
<mvt:item name="breadcrumbs" />
Leslie
Comment