Jean-Yves Zinsou
|
Tuesday 03 March 2009 4:58:26 am
You may find your answer here .... http://localhost/ezdoc4/4_0/reference/modules/content/fetch_functions/tree.html
fetch( 'content', 'tree',
hash( 'parent_node_id', parent_node_id,
[ 'sort_by', sort_by, ]
[ 'offset', offset, ]
[ 'limit', limit, ]
[ 'attribute_filter', attribute_filter, ]
[ 'extended_attribute_filter', extended_attribute_filter, ]
[ 'class_filter_type', class_filter_type, ]
[ 'class_filter_array', class_filter_array, ]
[ 'only_translated', only_translated, ]
[ 'language', language, ]
[ 'main_node_only', main_node_only, ]
[ 'as_object', as_object, ]
[ 'depth', depth, ]
[ 'depth_operator', depth_operator ]
[ 'limitation', limitation ] [ 'ignore_visibility', ignore_visibility ] ) )
you may need to do several fetches to get the articles , one fetch for each of the parent nodes press review, photo gallery ... For each of those, the "limit" parameter allows you to choose how many nodes you want to retrieve... Hope this helps ! Regards
Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr
|