ez.no / ezpublish / documentation / customization / tips & tricks / list articles in folder
These documentation pages are no longer maintained. Please visit the new documentation site.
How do I list all the articles in one folder?
{let X=fetch('content','list', hash(parent_node_id,$node.node_id, sort_by,$node.sort_array, offset, $view_parameters.offset, class_filter_type, 'include', class_filter_array, array( 2 ) )) }
where 2 is you article class ID.
Look at fetch howto to get to know more about the fetch function and its usage.
[apparently, the above link is broken. Try this link instead]
Comments
filtering on classes
Marko Zmak
Wednesday 14 July 2004 3:19:48 pm
I' ve used it just like you described. I even tried to put the identifier of the Article, like this:
but I just don't get any articles. Without the attribute filtering it works fine. What's the problem?
List all articles in current folder - archivelisting with offset=10
Valentin Svelland
Monday 14 July 2003 2:08:53 pm
I want my newspage to list 10 articles with intro sorted by date, and then a archivelisting at the bottom showing all previous articles IF there is any articles beyond the offset of 10..
Shouldn't be to difficult, but I'm no programmer..