Share » Forums » Setup & design » $module_result.path: translated names?

$module_result.path: translated names?

$module_result.path: translated names?

Monday 31 March 2003 2:09:39 am - 1 reply

Author Message

Jan Borsodi

Tuesday 01 April 2003 6:15:44 am

You can fetch the node yourself and go over the parent list, use:
{section show=is_set($DesignKeys:used.node)}
{let node=fetch(content,node,hash(node_id,$DesignKeys:used.node))}
{section name=Node loop=$node.path_array}
{section-exclude match=array(1,2)|contains($:item)} {* Skip root nodes *}
{* Replace the next line with something that fetches translations *}
{fetch(content,node,hash(node_id,$:item)).name}
{/section}
{/let}
{section-else}
{* Show normal path *}
{/section-else}

We are currently planning to let templates override the returned path from module views, that way you could override the path returned from content/view/. But this is something for a future release.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu