[EventCalendar] Big Calendar 5 - Read This

David Garlitz dgarlitz at wesleyan.edu
Tue Feb 19 14:01:01 UTC 2008


Doh! I was hoping that this would allow me to query posts by event  
order...

Do you know if anyone has hacked a way to do this, assuming that each  
post will only have one event? I've looked around the mailing list,  
but haven't found anything...

Thanks again,
Dave


On Feb 19, 2008, at 2:31 PM, Matthew Middleton wrote:

> That's correct, I made it sort by start date only in
> database queries done by the plugin itself.  This is
> done when returning a list of events or drawing a
> calendar.  When you use The Loop in a custom query,
> you are querying the posts rather than the events.
> (One post may have multiple events, or have no events)
>
> Stay tuned for "Big Calendar 6" - which I will
> hopefully post soon.  It will have several new
> features including recurring event support.  Since one
> post may have hundreds of recurring events, you may
> want an option for a custom query on events rather
> than posts.  I haven't implemented this feature yet,
> but I may do so in the future.  I did make some
> changes to The Loop to support posts with recurring
> events - I will provide a full changelog with the
> patch.
>
> -Matthew
>
>
> --- David Garlitz <dgarlitz at wesleyan.edu> wrote:
>
>> Hi Mathew - Thanks for your work on Big Calendar.
>>
>> I was excited to see that one of the fixes you
>> implemented was :
>>
>> *Sort all events by event start time, not post time.
>>
>> However, I'm not getting this functionality in
>> custom queries. Have I
>> misunderstood what you mean by this? Is there
>> something missing from
>> my query? This is what I'm using in the loop:
>>
>> <?php $my_query = new WP_Query($query_string .
>> 'cat=11&showposts=2&ec3_after=today&order=ASC');
>>
>> but my posts show ordered by post date. Am I missing
>> something?
>>
>> Thanks in advance for your help!
>> Dave>
> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe:
>> http://penguin.firetree.net/eventcalendar
>>
>
>
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>




More information about the EventCalendar mailing list