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

Calendar Module - Registerable Event


Reply


4 Posts   564 Views

Avatar
nat.pike

Community Member, 19 Posts

3 October 2012 at 9:55am

Hi there,

We are having problems getting the Registerable Event part of the Calendar Module working, this is the error I'm getting:

[User Error] Uncaught Exception: Object->__call(): the method 'getstarttimestamp' does not exist on 'RegisterableDateTime'

Here is the link to the site:

http://gromit.utopia.co.nz/~packawww/index.php/events/

From what I can find in the forums I need to use the EventCalendar from UncleCheese's which I have tried using but then I get another error - 'Fatal error: Class 'ArrayList' not found in' which is in SS3.

I am using SS 2.4.7, is there any way to have the EventCalendar work in SS 2.4.7?

Thanks

Natalie

Avatar
UncleCheese

Forum Moderator, 4096 Posts

4 October 2012 at 12:38am

Yup.

git checkout 2.4

Done!

Avatar
xmark

Community Member, 8 Posts

15 October 2012 at 11:08am

UncleCheese - please explain..! I don't get your reference.. thanks.

Avatar
UncleCheese

Forum Moderator, 4096 Posts

16 October 2012 at 3:55pm

I assume you got the module from the Git repository on Github. If that's the case, just checkout the 2.4 branch.

---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com