[EventCalendar] Re: ec3 with custom fields solved
David Nolan
david.nolan at celtic-irish.co.uk
Mon Mar 10 19:16:25 UTC 2008
David,
Please can you provide some info as to how you did it. It's like to do it
too, but in the events list
Regards
David
On 10/03/2008, David Garlitz <dgarlitz at wesleyan.edu> wrote:
>
> 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
>
--
Help raise funds for our community events by visiting
http://www.celtic-irish.co.uk/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20080310/dfb0df78/attachment.htm
More information about the EventCalendar
mailing list