10375 Posts in 2190 Topics by 1707 members
| Go to End | Next > | |
| Author | Topic: | 2632 Views |
-
Event Calendar DatePicker JQuery Error

16 April 2010 at 12:27pm
Hello,
I have done a fresh install of Silverstripe 2.3.7, installed Data Object Manager r393, and installed Event Calendar r105.
When I add a new Calendar Event and Add a Date the datepicker does not work, and I am unable to edit the start and end dates.
It appears this is due to some javascript errors.
Some of the errors I get are:
In dataobjectmanager_popup.js, dom_jquery_ui.js, and datepicker_init.js the error is 'jquery' is undefined
In datepicker_init.js the error is $('.datepicker input').livequery is not a functionIt seems as though jQuery is not loaded for this part of the admin.
Any help would be much appreciated.
Cheers
-
Re: Event Calendar DatePicker JQuery Error

16 April 2010 at 1:07pm
If you're on 2.3, you need to be running the 2.3 branch on /branches/2.3/event_calendar
-
Re: Event Calendar DatePicker JQuery Error

16 April 2010 at 3:39pm Last edited: 16 April 2010 3:40pm
Ah, Thanks mate.
I downloaded the branch. It has this error in it:
Parse error: syntax error, unexpected T_PROTECTED, expecting ';' or '{' in [site-address]\event_calendar\code\CalendarUI.class.php on line 117
Which is:
public function setAnchorEnd($date)
protected
It has an unfinished setAnchorEnd function and a floating protected tag.I'm guess this should be:
public function setAnchorEnd($date)
{
$this->anchor_end = new sfDate(CalendarUtil::getDateToString($date));
}Now, even with this branch, the same errors are there. Do I need to get an older version of dataobjectmanager?
-
Re: Event Calendar DatePicker JQuery Error

16 April 2010 at 3:58pm
Yeah, make sure you're running the 2.3 branch of DOM, too.
-
Re: Event Calendar DatePicker JQuery Error

16 April 2010 at 5:08pm
Awesome. All works now.
Thanks so much, not only for your quick replies and help, but for all the effort you have put into the modules you have created. They really turn Silverstripe into a powerful CMS.
Cheers mate!
-
Re: Event Calendar DatePicker JQuery Error

20 April 2010 at 10:59am
I have the same problem as ampedup, but I'm not sure how or where to get the branched versions. Are they available in the repository via the web (I couldn't find any 2.3 branches at http://svn.silverstripe.com), or do I have use SVN to get them? I installed the zipped/downloaded version of silverstripe, not a subversion checkout...
-
Re: Event Calendar DatePicker JQuery Error

20 April 2010 at 11:55am
Thanks for your reply UncleCheese. I downloaded the event_calendar code, but there doesn't seem to be a Data Object Manager (DOM) folder under http://bluehousegroup.svn.beanstalkapp.com/modules/branches/2.3
...
| 2632 Views | ||
| Go to Top | Next > |


