Sunday 14 November 2004 10:10:22 pm
The place to start is looking at some of the other admin interface templates. These will give you an idea of how the default displays for various class items are generated. Also check out the documentation for the fetch function at http://ez.no/ez_publish/documentation/list/(from)/44331 along with examples in the templates. Fetching for objects of a specific class is pretty trivial and works something like this:
{let children=fetch( content, list, hash( parent_node_id, $node.node_id,
sort_by, $node.sort_array,
class_filter_type, include, class_filter_array, array( 'article' ) ) )} to only get instances of the article class.
__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish
|