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, biapar, Willr, Ingo, swaiba, simon_w

EventCalendar category filter


2 Posts   910 Views


14 March 2010 at 6:26am (Last edited: 14 March 2010 6:27am), Community Member, 1 Post


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?


14 March 2010 at 9:18am 4085 Posts

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.