Share » Forums » Setup & design » counting with "tree_count" not working

counting with "tree_count" not working

counting with "tree_count" not working

Tuesday 16 May 2006 9:53:26 am - 2 replies

Author Message

Kristof Coomans

Tuesday 16 May 2006 11:29:01 am

Hi Alexandre

Put your filters inside the hash like you did with parent_node_id. That will work better ;)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Alexandre Cunha

Wednesday 17 May 2006 5:24:19 am

Thanks Kristof, you are right !

For future reference, the correct template code now is:

 

{def $max_fotos=fetch('content', 'tree_count', hash( parent_node_id, 170,
     class_filter_type, "include",     class_filter_array, array( 'image' )   )   )
}
 

http://AlexandreCunha.com

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu