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.

All other Modules /

Discuss all other Modules here.

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

Calendar event module - displaying recent events

Go to End

2 Posts   1649 Views


Community Member, 1 Post

15 June 2009 at 8:31am

Has anyone figured out how to display recent events yet. I've been following this posting where FireMe! asked a similar question, but have not seen a resolution yet.

Thanks for your help!


Forum Moderator, 4102 Posts

15 June 2009 at 9:02am

I've tried this a hundred different ways and I can't seem to figure out why you guys aren't seeing recent events.

Here's my test code:


function MyRecentEvents()
return DataObject::get_one("Calendar")->RecentEvents(5);

<% control MyRecentEvents %>
$_Dates <br />
<% end_control %>

Works without a problem.