[EventCalendar] Re: ec3 with custom fields solved
firetree_ec3 at spamex.com
firetree_ec3 at spamex.com
Mon Mar 10 12:43:25 UTC 2008
Do tell.
Enquiring Minds Want to Know...
On Mar 10, 2008, at 7:35 AM, David Garlitz wrote:
> * Replies will be sent through Spamex to eventcalendar at firetree.net
> * For additional info click -> http://www.spamex.com/i/?v=17832931
>
> Well, I figured it out pretty quickly, actually. If anyone is
> interested in the custom fields solution, let me know...
>
> Dave
>
>
> On Mar 10, 2008, at 11:17 AM, David Garlitz wrote:
>
>> Hi,
>>
>> I've been trying to figure out how to incorporate a query to a
>> post's custom field (i.e. $wpdb->postmeta.meta_value) in order to
>> include extra information about an event (like location, or
>> entrance fee, etc.). I know most solutions to this problem involve
>> using a custom loop, but I'd like these custom fields to appear on
>> the Big Calendar (Matthew's patch), so a custom loop won't cut it.
>>
>> Any ideas about how it could be done?
>>
>> 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
>>>
>>
>
>
> _______________________________________________
> 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