[EventCalendar] QUESTION: Filtering The Loop for Events by Event
Date; not Posting Date
firetree_ec3 at spamex.com
firetree_ec3 at spamex.com
Sat Nov 3 14:45:54 UTC 2007
I'm pretty sure this question must have been asked before, but I
can't seem to find it. The default mailman interface doesn't seem to
have a decent search functionality.
I want to display my events by EVENT date; not POSTING date.
Currently, they all list by post date, which can be problematic, as
people can list events far in advance, and I don't want December's
events listed prior to July's events.
The event dates are in a separate table, so I have to play SQL games
to get at them. WP has some API calls to let you play with the SQL,
but I was wondering if I missed something in the EC3 docs that allows
me to do this.
I see that there is a "ec3_filter_posts_orderby()" function that
probably does this, but I don't seem to be invoking it, so I'm
wondering if I'm doing something wrong. I see that I should probably
have $ec3->order_by_start set, but I'm not exactly sure how I do that.
I'll keep reading away, and I'll figure it out eventually, but a
quick pointer to the correct M for me to RTFM would be helpful.
Thanks!
More information about the EventCalendar
mailing list