Fetch upcoming events by section

Fetch upcoming events by section

Friday 13 November 2009 4:43:58 am - 4 replies

Modified on Friday 13 November 2009 4:47:07 am by Wenzel Wondra

Author Message

Eirik Alfstad Johansen

Friday 13 November 2009 11:51:44 am

Hi Wenzel,

Are you sure you want "or" and not "and" in the attribute filter?

Also, I'm not sure if the attribute filter supports section as a parameter, but limitation might. Check out the comment on the bottom of this page:

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

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Sylvain Gogel

Friday 13 November 2009 12:27:07 pm

section is supported as a non-attribute so it should work

You should first limit your fetch to section only to figure out if you don't mess with the dates

cheers

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

Sylvain Gogel

Friday 13 November 2009 12:32:05 pm

hum editing a post that contains a code tag is broken :(

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

Wenzel Wondra

Monday 16 November 2009 6:03:08 am

Hey!
@Eirik: You are right with your concerns on the 'or' in the fetch. The 'or' is just needed for the date/time part of the fetch. But I have no idea how to add my 'and', 'section','=','11' to the query. I tried so many combinations and none worked....
@Sylvian: The dates are right - that's the original ezwebin calendar fetch. "Only" the combination fails :(

Any help would be really appreciated :)
Thank you,

WeWo

You must be logged in to post messages in this topic!

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