[fixed] how to do a link to a content without the layout

Author Message

SEBBANE Alexandre

Thursday 18 October 2007 6:56:36 am

i have a content which is access with a particular layout( mail ).

i would like to link to this node in the normal layout

so i try $node.url_alias but it makes the link with the layout ..

Do you have an idea ?

Paris, France

Pascal Specht

Thursday 18 October 2007 7:25:21 am

Hi Alexandre,

did you look at the content of the variable $module_result.path ? Actually it's an array, and as far as I remember, you may find what you're looking for...

{$module_result.path|attributes(show)} should give you a quick check if my guess is right...

</Pascal>

SEBBANE Alexandre

Thursday 18 October 2007 7:39:37 am

{$node.url|ezroot("no","full")}

that is the answer....

Paris, France

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.