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

Preview: Event Calendar Module


Reply


293 Posts   44107 Views

Avatar
UncleCheese

Forum Moderator, 4096 Posts

29 January 2009 at 3:12pm

Ahh, indeed this is a new compatibility bug with 2.3. I've checked in a fix to the SVN. You can check it out at:

svn co http://svn.codespaces.com/bluehousegroup/event_calendar

Otherwise, tomorrow I'll make another zip file with the latest build.

Sorry about that. Good thing 2.3 isn't an official release yet. Still have time to get it up to speed.

Avatar
Chucky2k

Community Member, 32 Posts

30 January 2009 at 2:56pm

Edited: 30/01/2009 3:25pm

Hi

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.

Cheers
David

EDIT... Brain fade... Used the template to call a different include.. I hate it when I overcomplicate what I want to do.

Thanks anyway

Avatar
UncleCheese

Forum Moderator, 4096 Posts

31 January 2009 at 3:33am

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.

Avatar
George

Community Member, 41 Posts

3 February 2009 at 9:20pm

Hello

I have tried v0.1 and svn, but everytime I get an empty page after a dev/build.
My testplatform are the latest silverstripe trunks.

Thanks.

Avatar
UncleCheese

Forum Moderator, 4096 Posts

4 February 2009 at 3:21am

Can you turn on error reporting and let me know what error is being thrown?

Avatar
George

Community Member, 41 Posts

4 February 2009 at 4:18am

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.

Avatar
UncleCheese

Forum Moderator, 4096 Posts

4 February 2009 at 4:28am

Okay, so this is resolved? Looks like the duplicate class was causing both of those errors.

Avatar
Chucky2k

Community Member, 32 Posts

5 February 2009 at 1:08pm

Hi again UncleCheese,

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.

Thanks