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

A few Event Calendar Questions


Go to End


671 Views

Avatar
DanStephenson

Community Member, 116 Posts

3 October 2011 at 7:37pm

Edited: 03/10/2011 7:37pm

Hello everyone,

First I want to thank Uncle Cheese for his great Event Calendar module.
I've been going through the tutorial at: http://doc.silverstripe.org/old/recipes:extending_the_event_calendar and have a few questions I am hoping to get some help with:

1. Now that I've extended my Workshops to have categories, how can I show the latest event by category on the homepage? The latest 2 Finance events, latest 2 Industry events, and latest 2 Administration events? I can get all upcoming events showing using the UpcomingEvents function, but can't figure out how to sort this it by category.

2. Is there a way that I can show all events for the next x period of time? For example - if I want to create a page that will always show the next 6 months worth of events? I'd like this to dynamically update, so no matter the date, it always shows the next 6 months worth.