Marco Zinn
|
Monday 03 November 2003 1:48:08 pm
Hi,
have a look here: http://www.ez.no/developer/ez_publish_3/documentation/development/libraries/ez_template/operators/data_fetch Then, why did you put 'currentdate()' in quotes? Did you try without?
Then, I read a thread here somewhere (cannot find it now), that the attributefilter likes to see an "OR" operator, even if you have just one condition
[from the documents page: .... attribute_filter, array( 'or', array( 152, '=', 'abc' ), array( 153, '=', '42' ) ) ]
Try to construct something like this:
{let children=fetch(content,list,hash(parent_node_id,46, attribute_filter, array ( 'or', array(178, '<=', currentdate()), ) ))}
or {let children=fetch(content,list,hash(parent_node_id,46, attribute_filter, array ( 'or', array(178, '<=', currentdate()), false() ) ))}
Marco
http://www.hyperroad-design.com
|
PaoloMellerio kk
|
Monday 03 November 2003 11:55:09 pm
Hi Marco,
Thanks for your suggestion but I've tried both solutions but no news is shown... are you sure about the fact the "I read a thread here somewhere (cannot find it now), that the attributefilter likes to see an "OR" operator, even if you have just one condition"?
It seems to be a strange thing: the docs shows an example with a filter based on two conditions, isn't it? Any other idea? Paolo
Paolo Mellerio
http://www.clikka.com
|