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   529 Views

Avatar
nat.pike

3 October 2012 at 9:55am Community Member, 19 Posts

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

4 October 2012 at 12:38am 4085 Posts

Yup.

git checkout 2.4

Done!

Avatar
xmark

15 October 2012 at 11:08am Community Member, 8 Posts

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

Avatar
UncleCheese

16 October 2012 at 3:55pm 4085 Posts

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