I have the Event Calendar installed and working great now. I have played with the templates to get the CalendarWidget displaying in my existing sidebar and have used <% if ClassName = Calendar %> to have it display on the Calendar page, however I also want it to display on the CalendarEvent pages but using <% if ClassName = CalendarEvent %> dosen't seem to return true on the page. I am sure it is something basic that I have missed. Any advice is greatly appreciated.
EDIT... Brain fade... Used the template to call a different include.. I hate it when I overcomplicate what I want to do.
Glad you're getting good use out of it. Keep me posted with any feedback you have. I'd also encourage you to check out the documentation, Recipes: Extending the event calendar to learn how to customize the calendar and calendar events.
No Silverstripe error but in messages.
It seems there is an interaction with the calendar modul:
PHP Fatal error: Call to undefined method Calendar::set_param() in /.../event_calendar/_config.php on line 9.
PHP Warning: Warning: there are two 'Calendar' files both containing the same class: '/.../event_calendar/code/Calendar.php' and '/.../calendar/code/Calendar.php'. This might mean that the wrong code is being used. in /.../sapphire/core/ManifestBuilder.php on line 276
I have deleted /.../calendar and no problem appears anymore.
I've played more with the module and have extended it based on the recipe provided and have a problem after adding multiple different events.
I added one event for Feb 17 and all displays fine on the "WorkshopHolder" PageType.
I added a second event for Feb 20 but only the Feb 17 event displays on the "WorkshopHolder" PageType.
I then added a third event for Feb 10 and now the "WorkshopHolder" PageType display only displays the Feb 10 and Feb 20 events.
I have also tested this using the unextended page types from the downloaded module. I am also running 2.3 rc3.