| Mike Borozdin
                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Monday 22 December 2003 6:57:35 am 
                                                                
                                                                 Hi! How can I make tree listing? I have the following code:  
<table class="menu" width="100%" cellspacing="0" cellpadding="0" border="0">{let page_list=fetch( content, list, hash(
 parent_node_id, array( 2, $module_result.path[1].node_id ),
 sort_by,array( array( published, false() ) ),
 class_filter_type, exclude,
 class_filter_array, array( 'article' ),
 limit, 10 ) )}
 
 {section name=Page loop=$page_list}<tr>
 <td>
 <a class="menuitem" href={concat("/content/view/full/",$Page:item.node_id,"/")|ezurl}>{$Page:item.name|wash}</a>
 {let sub_list=fetch( content, list, hash(
 parent_node_id, array( $Page:item.node_id ),
 sort_by,array( array( published, false() ) ),
 class_filter_type, exclude,
 class_filter_array, array( 'article' ),
 limit, 10 ) )}
 
 {section name=sub loop=$sub_list}<a class="menuitem" href={concat("/content/view/full/",$sub:item.node_id,"/")|ezurl}>{$sub:item.name|wash}</a><br />
 {/section}
 
 {/let}</td>
 </tr>
 {/section}
 
 {/let}</table>
 But I get this error: 
Fatal error: Call to a member function on a non-object in /users/b/o/borozda.com/html/mike/kernel/classes/ezcontentobjecttreenode.php on line 858Fatal error: Exponential did not finish it's request
 The execution of Exponential was abruptly ended, the debug output is present below. |