Author Topic

Vicente Olivan

Friday 28 November 2008 4:50:45 am

Comment48858

Hi Max,

		{def $show_events_calendars=fetch( 'content', 'list', hash( 'parent_node_id', array( 'yournode1', 'yournode2', 'yournode3' ),
                           'limit', '10',
              		'class_filter_type',  'include',
             		 	'class_filter_array', array( 'folder', 'event' ),
				'sort_by', array( 'attribute', true(), 'event/from_time' )
				 ) )}
 
            		<table class="list" border="0" cellspacing="0" cellpadding="0" summary="multicalendar">
            		<tr>
                <th>{'Event'|i18n( 'design/ezwebin/full/multicalendar' )}</th>
                <th>{'Start date'|i18n( 'design/ezwebin/full/multicalendar' )}</th>
                <th>{'Category'|i18n( 'design/ezwebin/full/multicalendar' )}</th>
                <th>{'Place'|i18n( 'design/ezwebin/full/multicalendar' )}</th>
            		</tr>
            		{foreach $show_events_calendars as $child sequence array( 'bglight', 'bgdark' ) as $style}
            		<tr class="{$style}">
                <td><a href="{$child.url_alias|ezurl(no)}">{$child.name|wash()}</a></td>
                <td>{attribute_view_gui attribute=$child.data_map.from_time}</td>
                <td>{attribute_view_gui attribute=$child.data_map.category}</td>
                <td>{attribute_view_gui attribute=$child.data_map.place}</td>
            		</tr>
            		{/foreach}
            		</table>

		{undef $show_events_calendars}

Grettings