| Tuesday 27 January 2004 1:41:41 pm 
                                                                
                                                                 I have this setup. 
Folder>Object 1>
 Object 1.1
 Object 1.2
 I created an override for the full.tpl to display Object 1. This works fine. But I also want to display in that template the contents of Object 1.1 and 1.2. And this I cannot get to work. I have the following: 
{let children=fetch( content, list,
 hash( parent_node_id, $node.node_id,
 sort_by, $node.sort_array,
 class_filter_type, include,
 class_filter_array, array( 'trade_note' )
 )
 )
 }
 bla 1 
{* LOOP: For each child of the node... *}{section name=Child loop=$children}
 
 {* Display the content of the child using a line-view template. *}{node_view_gui view=line content_node=$Child:item}
  bla 2<hr> 
{* End of loop. *}{/section}
 
bla 3{* End of namespace. *}
 {/let}
 
 Bla 1 and bla 3 get displayed but bla 2 does not get displayed. This means that somehow the fetch statement does not return any objects even though there are 2 objects. Any clue what I am doing wrong? |