[Plugin: Events Calendar] Date Picker Error in Admin (8 posts)

  1. jennygold
    Posted 6 years ago #

    I'm testing the upgrade to 6.6-beta running WordPress 2.8.4, and the datepicker is not working on this page: wp-admin/admin.php?page=events-calendar, where the events are created. I'm getting a jquery error in Firebug "$("#EC_start_clockpick").clockpick is not a function" and it seems to be due to jquery not being called in my WordPress admin pages. Is this a problem with WordPress or the plugin?


  2. jennygold
    Posted 6 years ago #

    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.

  3. Steve
    Posted 6 years ago #

    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
  4. andrewtf
    Posted 6 years ago #

    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

  5. andrewtf
    Posted 6 years ago #

    you can get clockpick to work by getting the latest version of it @

    and set military to true in ec_managementjs.class.php on lines ~226 and ~234

  6. Jen Baumann
    Posted 6 years ago #

    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

  7. Lenny
    Posted 6 years ago #

  8. eirtaza
    Posted 6 years ago #


    i installed the cloclpick but cant edit the lines
    coz they are different

    please specify the version over which these changes will occur

Topic Closed

This topic has been closed to new replies.

About this Topic