Answer the question
In order to leave comments, you need to log in
How to display breadcrumb position in Drupal 6 (schema.org)?
The task is simple but I have never worked with Drupal.
<div itemscope="" itemtype="http://schema.org/BreadcrumbList" id="breadcrumbs">
{if $_bc}
{foreach $_bc.items as $item name=bc}
{if $smarty.foreach.bc.last || !$item.link}
<span{if $item.class} class="{$item.class}"{/if}>{$item.title|regex_replace:"/\#D\#/":"%B %Y"|strftime:$smarty.now}</span>
{else}
<span itemscope="" itemprop="itemListElement" itemtype="http://schema.org/ListItem">
<a href="{$item.link}"{if $item.class} class="{$item.class}"{/if} rel="v:url" property="v:title">{$item.title}</a>
<span itemprop="name">{$item.title}</span>
<meta itemprop="position" content="1">
</span>
{/if}
{/foreach}
{else}
{/if}
</div>
position" content="1"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question