Forums / Developer / last modified articles / Comment49229
André R.
Thursday 13 March 2008 1:15:16 pm
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/modules/content/fetch_functions/list
Probably something like:
{def $articles = fetch('content', 'list', hash( 'parent_node_id', 2, 'limit', 4, 'class_filter_type', 'include', 'class_filter_array', array( 'article' ) ))}
where 2 is the node of the frontpage and 'article' is the class identifier of the article class.Then you need to loop over them, like this:
{foreach $articles as $article} {$node.name}<br /> {/foreach}
Take a look at this guide for what you can do next:http://ez.no/Exponential/documentation/building_an_ez_publish_site
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom