The error was due to a broken link in events-calendar.php.
Line 211: wp_enqueue_script(‘jqueryclockpicker’, ‘/wp-content/plugins/events-calendar/js/jquery.clockpick.1.2.6.js’, array(‘jquery’), ‘1.2.6’);
The clockpick file in events-calendar/js is named jquery.clockpick.min.js not jquery.clockpick.1.2.6.js.
Unfortunately my datepicker and timepicker are still not functioning.
sjc
(@stevielovegun)
I’m having the same issue and also think it’s related to javascript calls. Further info…
- on adding events I don’t get the datepicker icon or functionality, do get the time icon but it doesn’t work
- on editing existing events both work fine
to get the datepicker to work:
line 176 in ec_managementjs.class.php
DELETE – $this->calendarjs();
after line 233 in ec_management.class.php
ADD – $js->calendarjs();
clockpicker still broken after this little fix though
you can get clockpick to work by getting the latest version of it @
http://www.jnathanson.com/index.cfm?page=jquery/clockpick/ClockPick#download
and set military to true in ec_managementjs.class.php on lines ~226 and ~234
I’m a bit confused as my datepicker is not working, but those line numbers don’t seem to correspond to my files. 6.6-beta running WordPress 2.8.4
hey
andrewtf
i installed the cloclpick but cant edit the lines
coz they are different
please specify the version over which these changes will occur