Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Event Calendar Recent Events Behavior

Go to End


Andrew Houle

Community Member, 140 Posts

1 October 2010 at 9:28am

I have an event calendar that has an option to switch from upcoming to past events. Using the RecentEvents function it pulls x number of past events. The problem is they don't list from most recently past to oldest. They do list descending, but not from the most recent. So if I have three events that have dates of ... 01/10, 02/10 and 03/10 and I limit the RecentEvents function to 2 (RecentEvents(2)) Then it lists 02/10 and 01/10. How can I get it to list 03/10 and 02/10 instead. I hope my overly wordy explanation makes sense.