fetch subfolders and list content problem

fetch subfolders and list content problem

Thursday 03 July 2003 2:48:46 am - 1 reply

Author Message

Paal Are Solberg

Thursday 03 July 2003 5:05:12 am

Will this help?
{children=fetch('content','list',hash(parent_node_id,$node.node_id,sort_by,$node.sort_array,limit,$page_limit,offset,$view_parameters.offset)) }

{section name=Child loop=$children sequence=array(bglight,bgdark)}
{node_view_gui view=line content_node=$Child:item}

{let grandchildren=fetch('content',list,hash(parent_node_id,$Child:item.node_id, 'sort_by',array("name", true())))}
{section name=Grand loop=$:grandchildren}
{node_view_gui view=line content_node=$:item}<br />
{/section}

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.