Forums / Developer / It's possible to have 'and' and 'or' in attribute_filter
Pierre Tissot
Friday 31 August 2007 5:25:16 am
Hi
I cannot make something like this in attribute filter?
'attribute_filter',array('and', array($cond1), array($cond2), array('or', array($cond3), array($cond4) ) )
I try but with no success. thanks for the help.
André R.
Friday 31 August 2007 6:04:42 am
You should look into making a extended attribute filter instead. doc: http://ez.no/doc/ez_publish/technical_manual/3_9/reference/modules/content/fetch_functions/listexample: http://ez.no/community/contribs/template_plugins/objectrelationfilter__1
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