Thursday 25 September 2003 11:56:04 pm
Problem Solved. For anyone interested and keen enough to read some or all of the above, the code/method I used was as follows...
{let year=currentdate()|datetime(custom,"%Y")}
{let month=currentdate()|datetime(custom,"%m")} {let day=currentdate()|datetime(custom,"%d")}
{* class 17 is my "events" class *} {section loop=fetch(content,list,hash(parent_node_id,$node.node_id, class_filter_type, "include", class_filter_array, array(17),sort_by,array(array(name))))}
{let eventyear=$:item.data_map.event_final_date_std.content.year}
{let eventmonth=$:item.data_map.event_final_date_std.content.month} {let eventday=$:item.data_map.event_final_date_std.content.day}
{* Remove Past Events From Display *} {section show=or($eventyear|gt($year), and($eventyear|eq($year),$eventmonth|gt($month)), and($eventyear|eq($year),$eventmonth|eq($month),$eventday|ge($day)))} >>> Code to display current event goes here <<<
{ /section }
{/let}
{/let}
{/let}
{/section}
{/let}
{/let} {/let} Regards - Paul
|