10375 Posts in 2190 Topics by 1707 members
|Go to End|
3 October 2011 at 7:37pm Last edited: 3 October 2011 7:37pm
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.
|Go to Top|