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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Calendar Module - Registerable Event


Go to End


4 Posts   1874 Views

Avatar
nat.pike

Community Member, 21 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, 4102 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, 4102 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