Forums / Developer / {delimiter} ?

{delimiter} ?

Author Message

anne martinet

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

Pascal von Büren

Wednesday 18 June 2008 1:22:23 am

Hi Anne,

{delimiter}

doesn't work inside IF-Clauses, you'll need to do this <i>by hand</i>.

Regards,
Pascal

Kristof Coomans

Wednesday 18 June 2008 1:28:47 am

Also see http://issues.ez.no/9620

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

anne martinet

Wednesday 18 June 2008 1:55:45 am

Thanks a lot!

;)