Antoine W.
|
Friday 24 June 2005 4:11:35 am
Hi, Is it still impossible to fetch objects of different classes with attribute_filter, in eZ publish 3.6 ? Something like:
fetch( 'content',
'list',
hash( 'parent_node_id', 42,
'attribute_filter', array( 'and',
array( 'folder/show_in_menu', '=', '1' ),
array( 'article/show_in_menu', '=', '1' ) ) )
If not, it's always possible to fetch every folders & articles, and then add a condition like
<section show=is_set($node.data_map.show_in_menu)>
<section show=$node.data_map.show_in_menu|eq(1)>...display...</section>
</section>
But it will fetch everything, it's not optimised...
|