Saturday 24 June 2006 11:02:18 am
I don't think that you can use an attribute filter to do that. An extended_attribute_filter, maybe, but much easier, I think, would be to fetch all the nodes then 'filter' them in the template, using children_count. Assuming you've fetched the array of nodes as $list, something like:
{foreach $list as $listitem}
{if ne( $listitem.children_count, 0 )}
......
{/if}
{/foreach}
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/objects/ezcontentobjecttreenode
Hope that helps... Matthew
http://carroll.org.uk
|