[EventCalendar] sorting prior events most recent first?
johan.orgel at post.tele.dk
Fri Jun 8 11:16:40 UTC 2007
You could add the order in the link:
where cat 2 is the event-cat.
and you could furthermore narrow the list to child-cats of the event-cat
for instance: event-cat = 2, child-cat = 4
Den 08/06/2007 kl. 7.11 skrev Chris Janton:
> On 2007-06-07 , at 16:37 , TomRSmith wrote:
>> In my situation I would like to provide a link to previous events,
>> have them displayed in reverse order, that is, most recent first.
>> I am now
>> and it does what I want except the result is in chronological
>> order. I
>> desire reverse chronological. Can this be done? If so, would
>> appreciate a
>> few suggestions on how to implement it.
> When I go to
> the posts are listed in reverse chronological order. The events are
> whatever is set for those posts.
> In the sidebar (upcoming events list) you can achieve a reverse
> order by changing the ORDER BY on the
> select statement to "ORDER BY start DESC".
> It appears that the addition of another, optional, parameter on the
> function ec3_get_events that controls the order of the events might
> do the trick.
> Chris Janton - face at CentosPrime dot COM
> Netminder for Opus1.COM
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
More information about the EventCalendar