Template logic for fetching upcoming meetings

Author Message

Eirik Alfstad Johansen

Saturday 16 April 2005 4:20:45 am

Hi,

I have a class called meeting which includes an attribute of the datetime datatype which stores the date and time of when the meeting starts.

Now, what I'm trying to do is fetch the upcoming meetings, meaning those that start the same day or later. For this purpose, I've tried the following attribute filter, which did not work (no result was returned):

attribute_filter, array( 'or', array( 198, '>', currentdate() ))

Is what I'm trying to accomplish even possible, and if so, how should I go about it?

Thanks in advance !

Sincerely,

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

Eirik Alfstad Johansen

Saturday 16 April 2005 4:34:11 am

Never mind, it actually worked. The problem was that the meeting object was incorrectly placed in the content structure.

Sincerely,

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

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