Douglas Hammond
|
Wednesday 28 May 2003 12:56:39 pm
I have then folowing
{let article_list=fetch(content,list,hash(parent_node_id,$node.node_id, class_filter_type, include, class_filter_array, array(2)))}
{section name=Child loop=$article_list}
content_view_gui view=text_linked content_object=$Child:item}
{/section} {/let} and i get no articles showing and i have to in the folder. please help
|
Jo Henrik Endrerud
|
Thursday 29 May 2003 3:44:10 am
Here you are fetching all the nodes containing an article from the current level. Then you are trying to show the nodes as objects. In content_view_gui (I assume you just forgot the beginning { in your posting) you are saying that content_object is the current node in the loop, while it needs to be the object.
Two solutions: use ...content_object=$Child:item.object}
or (as I would recomend): change content_view_gui to node_view_gui and use content_node=$Child:item
Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no
|