Wednesday 18 June 2008 12:49:15 am
Hello! I try to create the path of the site. I do like this:
{def $chemins=$module_result.path}
{foreach $chemins as $c}
{if eq($currentNode.node_id,2)}
{*on n'ecrit pas le chemin, c'est inutil !!*}
{elseif eq($currentNode.node_id,$c.node_id)}
{$c.text|wash}{delimiter}>>{/delimiter}
{else}
<a href="{$c.url_alias|ezurl('no','full')}">{$c.text|wash}</a>{delimiter}>>{/delimiter}
{/if}
{/foreach}
And I have this result: <i>Accueil</i> Espace Actualité Why? What don't I understood? Thanks
|