Skip to the content
Documentation

many classes, one attribute

No ratings yet

Is it truely impossible to fetch different classes of content, and sort them by a common attribute ??
{set $item_list = fetch('content', 'tree', hash( 'parent_node_id', $node.node_id,
'sort_by', array( array('attribute',false(),'*/rating'), array('published',false()) ),
'class_filter_type', 'include',
'class_filter_array', array( 'article', 'slideshow', 'quizz' ) ) )} could have been so sexy!
Nothing helps to avoid the need of inheritance...