Jump to content
xt:Commerce Community Forum

breadcrumb


giller

Recommended Posts

<ul class="breadcrumb">

    {foreach name=aussen item=breadcrumb from=$top_navigation}

        {if $smarty.foreach.aussen.last == false}

                {if $smarty.foreach.aussen.first}

                    <li><a href="./">{$breadcrumb.name|escape:"html"}</a></li>

                    {else}

                    <li><a href="{$breadcrumb.url}">{$breadcrumb.name|escape:"html"}</a></li>

                {/if}

        {else}

        <li class="active">{$breadcrumb.name|escape:"html"}</li>

        {/if}

    {/foreach}

</ul>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...