14 March 2010 at 6:26am
(Last edited: 14 March 2010 6:27am),
I'm not very technical, so this may be quiet obvious, but I want to filter my calendar by category. I have added the category drop down to Calendar.php and it works fine, but I want to create a list of links to my various category pages in my Calendar and CalendarEvent pages. How would I go about doing this?
First, you shouldn't be modifying Calendar.php. You need to create a subclass and add your custom fields there. There's a good write-up in the docs called "Extending the event calendar" which walks you through creating a subclass with a category attribute and filter.