Thursday 23 June 2005 12:54:49 pm
Hi Johann, I suggest to enable DebugOutput for development, then you can easly find errors in template syntax for example. Also better is use "var" parameter instead of "name" when you using section. var defines a variablename for the iterator. You should use 'class_filter_array' instead of 'class_filter' After small corrections your code will be:
{let data=fetch( 'content', 'tree', hash( 'parent_node_id', <node_id>,
'class_filter_type', 'include',
'class_filter_array', array( 'lesson_text' ) ) )}
{section var=node loop=$data}
{node_view_gui view=line content_node=$node}
{/section}
{/let}
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|