{def $page_limit=10 $col_count=2 $sub_children=0 $children=fetch('content','list',hash('parent_node_id', $node.node_id, 'limit', $page_limit, 'offset', $view_parameters.offset, 'sort_by', $node.sort_array))}
{$child.name}{if $child.class_identifier|eq( 'event_calendar' )} {set $sub_children=fetch('content','list',hash( 'parent_node_id', $child.node_id, 'limit', $page_limit, 'sort_by', array( 'attribute', false(), 'event/from_time' ) ) )} {else} {set $sub_children=fetch('content','list',hash( 'parent_node_id', $child.node_id, 'limit', $page_limit, 'sort_by', $child.sort_array))} {/if}
|
{if ne( $key|mod($col_count), 0 )}