Search results

Author Message

Douglas Johnson

Thursday 13 November 2003 6:46:20 am

I would like the search results to show only certain class types. How is this done? Thanks in advance.

Joris Lint

Monday 17 November 2003 3:11:22 am

This way:

{section name=Child loop=fetch(content, tree, hash(
parent_node_id, $node.node_id,
class_filter_type, exclude,
class_filter_array, array(1,20) ) ) }

class_filter_type can also be include.
1,20 is an array of classes.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.