[EventCalendar] sorting prior events most recent first?
Johan Michaelsen
johan.orgel at post.tele.dk
Fri Jun 8 11:16:40 UTC 2007
Hi
You could add the order in the link:
http://lmysite/news/?ec3_before=today&cat=2&order=asc
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
http://lmysite/news/?ec3_before=today&cat=4&order=asc
best regards
Johan
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,
>> but
>> have them displayed in reverse order, that is, most recent first.
>> I am now
>> using
>> ?ec3_before=today
>> 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
>
> http://mysite/news/?ec3_before=today
>
> 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.
>
> 8)
> ----------------------------------
> 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
mailing list