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

Event Calendar - Filter by DB field in extended CalendarDateTime

Go to End


Nobrainer Web

Community Member, 138 Posts

9 September 2010 at 10:18pm


I'm trying to setup the Event calendar module suit my needs, so far it works very well.
Have followed the tutorial
(One thing though - in the section Modifying the Table field, i think the following code is missing: $this->addPopupFields(array(new TextField('Location'))); or am i missing something?)

I have added 2 custom db fields (City, Location as Varchar) to CourseDateTime, my extension of CalendarDateTime.

I now need to add a filter option for these two fields, preferably as dropdown.
How can this be done?

My CourseHolder:
My Course: