override doesn't work in this code...

override doesn't work in this code...

Monday 02 May 2005 6:11:07 am - 1 reply

Author Message

Łukasz Serwatka

Thursday 05 May 2005 11:22:02 pm

Hi Torbjørn,

You need tpl for full view and for line view. You can also improve speed of your code without additional fetching.

You will have to create node override if you want use it for one folder.

{section show=eq( $node.children_count, 1 )}
    {node_view_gui view=full content_node=$node.children.0}
{section-else}
    {section loop=$node.children}
            {node_view_gui view=line content_node=$item}
    {/section}
{/section}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

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