856 Posts in 211 Topics by 299 members
Upgrading SilverStripe
SilverStripe Forums » Upgrading SilverStripe » Event Calendar Fails with upgrade to SS 2.3.2rc1
Ask questions about upgrading SilverStripe to the latest version.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 757 Views |
-
Event Calendar Fails with upgrade to SS 2.3.2rc1

22 May 2009 at 4:30am
Upgrading to the last SS beta (2.3.2rc1) gives the following error:
[User Error] DataObjectDecorator->setOwner(): Trying to decorate an object of class 'CMSMain' with 'CalendarScriptInit', only Dataobject subclasses are supported.
-
Re: Event Calendar Fails with upgrade to SS 2.3.2rc1

22 May 2009 at 5:01pm
the solution to this is change CalendarScriptInit.php to;
<?php
class CalendarScriptInit extends LeftAndMainDecorator
{
public function init(){
Requirements::javascript('event_calendar/javascript/calendar_interface.js');
Requirements::css('event_calendar/css/calendar_cms.css');
}
}
| 757 Views | ||
|
Page:
1
|
Go to Top |

