[EventCalendar] Re: ec3_get_past_events()
damontimm at gmail.com
Thu Oct 9 20:51:53 UTC 2008
Alex - ooooooh ... sounds NICE! Well, then, if that stuff is coming down
the pipe I can wait for that! More flexibility is where I am at.
On Thu, Oct 9, 2008 at 4:30 PM, Alex Tingle <alex at firetree.net> wrote:
> On 9 Oct 2008, at 21:06, Damon Timm wrote:
> Thanks Darrel for the link - basically it does the opposite for
>> "ec3_get_events()" in that it gets PAST events rather than future ones
>> starts by listing the most recent). I like it because I want people to
>> what just happened as well as what's coming up.
>> You can see it in action at: www.rosaleeshow.com (bottom left of the
>> I went ahead and did a fresh install of wordpress and of ec3 (from the
>> wordpress plugin page) and it works fine. My only caveat is that the
>> function recycles TONS of code from the ec3_get_events() function ... a
>> smarter way would be to create a different function that could take an
>> argument (like "past" or "future") and then have ec3_get_events() and
>> ec3_get_past_events() call that respectively ... less bloat.
> I designed a whole new set of template functions that basically make it
> possible to just use WP's query_posts() function. That would get rid of
> nonsense like the stupid templates in ec3_get_events() - they are just too
> inflexible. There's always someone who wants it to do something new.
> I've got running code somewhere - I'll post it after we've got the current
> code stabilised.
> Anyone got more problem reports on the current code?
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the EventCalendar