Filter Objects on Criteria

Author Message

Mohammad Tufail

Friday 30 May 2008 1:20:14 am

Hi,

I want to include a module just like http://ez.no/partner/worldwide_partners . I have no idea how to filter objects of a specific class. Also the selection boxes should be dynamic so that i can include the options later.

if possible please give me complete detail how to setup the classes for this module and more.

Quick response will be highly appreciated.

Thanks :-)

Maxime Thomas

Monday 02 June 2008 12:03:08 pm

Hi,

As I know, there's no modules in order to do the partner filtering. Only template code :

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/modules/content/fetch_functions/list

Look to attribute filter and sort by.

To do this, make an override of the parent content of all your "partner" content and make a big fetch with all the parameters passed throught the view parameter.

http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_pagelayout/variables_in_pagelayout

Hope it will help.

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

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