[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 19:42:06 UTC 2007


Actually, I'll un-correct myself. The problem was the individual  
lists (single.php) not the aggregate lists (archive.php). When the  
events are browsed in a single list, they are arranged by posting  
date, not event date. I had missed this because I deliberately  
disabled the next/prev buttons when browsing events (because of this  
problem).

I'll keep looking for the solution...

On Nov 3, 2007, at 11:17 AM, firetree_ec3 at spamex.com wrote:

> * Replies will be sent through Spamex to eventcalendar at firetree.net
> * For additional info click -> http://www.spamex.com/i/?v=17832931
>
> Actually, scratch that. It now seems to be working, and I have no  
> clue what I did to make it work.
>
> I really hate it when this type of thing happens, and I apologize  
> for wasting peoples' time.
>
> On Nov 3, 2007, at 10:45 AM, firetree_ec3 at spamex.com wrote:
>
>> * Replies will be sent through Spamex to eventcalendar at firetree.net
>> * For additional info click -> http://www.spamex.com/i/?v=17832931
>>
>> 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!
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>
> catchall account
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>

catchall account




More information about the EventCalendar mailing list