Events (ContentObject) nach Datum sortieren (legacy)

14.07.2015 | eZ Publish

{foreach fetch( 'content', 'list', hash( 'parent_node_id', 256, 'class_filter_type', 'include', 'class_filter_array', array('event') , 'sort_by', array( 'attribute', true(


 {foreach fetch( 'content', 'list', hash( 'parent_node_id', 256,
         'class_filter_type', 'include',
         'class_filter_array', array('event') ,
         'sort_by', array( 'attribute', true(), 'event/from_time'),
          'depth', 2, 
          'limit', 5 ) ) as $key => $child }
          <p><a href={$child.url_alias|ezurl}>{$child.data_map.from_time.content.timestamp|datetime(  'custom', '%Y, %d'  )} -  {$child.data_map.to_time.content.timestamp|datetime( 'custom' , '%d %F' )}
 {$child.data_map.title.content|striptags}
               </a></p>
 {/foreach}

Analyse

Entwurf

Development

Launch