Monday 12 May 2003 3:49:26 am
Yes, this can be done with a fetch() template function. If you e.g. want to have a list of the 5 latest updated objects you can do something like:
{section name=Child loop=fetch('content','tree',hash(parent_node_id,42,limit,5,sort_by,array(array('modified',false()))))}
<a href={$Child:item.url_alias|ezurl}>{$Child:item.name}</a> {/section}
Replace 42 with the root ID of where you want to check for updates. 5 is the limit of objects to return. This example does not filter on classes, this can be done with the class_filter_type and class_filter_array parameters. --bård
Documentation: http://ez.no/doc
|