[EventCalendar] Past Events

Alex Tingle alex at firetree.net
Wed Jan 24 17:04:26 UTC 2007


Upcoming events just calls ec3_get_events(). Just copy that function 
into your widget (with a new name) and alter the SQL to find past 
events. Then your new widget can call the new function.

-Alex

--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net  +44-7901-552763

On 24 Jan 2007, at 16:44, Olumide Alabi wrote:

> Hi,
> I would like to know how to write an Past Events Widget.
>
> Basically I need identical functionality to the Upcoming Events Widget 
> only this time the list should contain past events and there should be 
> the possibility to set the number to be displayed e.g 5 which is the 
> default for the Upcoming Events widget.
>
> If anyone could help me write this or give me a walk-through as to how 
> to hack a copy of the Upcoming Events Widget to achieve the desired 
> results, I'd be very grateful.
>
> -- 
> Nuff love,
>
> Luminus
> Phone | +234 1 432 2013, +234 802 359 9606,  +44 703 192 9794
> Skype | luminusdadon
> My Blog | http://www.olumidealabi.com
> Naija Jobs | http://www.olumidealabi.com/category/jobs-in-nigeria/ 
> (old)
> Naija Jobs | http://www.olumidealabi.com/naijajobs/ (current)
> My Professional Profile | https://www.linkedin.com/in/luminus
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar




More information about the EventCalendar mailing list