Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi montytx – this is probably another plug-in. Try disabling all other plug-ins and re-enabling them to find the culprit plug-in (or theme). Let me know which one and I’ll have a look.

    Thread Starter montytx

    (@montytx)

    It appears to be Facebook AWD…
    Thanks!

    Is it just the time? Because that plug-in seems to break nearly everything javascript on my admin page…

    The problem is the plug-in is enquing jquery UI from its own ‘assets’ folder, rather than WordPress’s jquery-ui. The upshot is that jQuery UI is being loaded twice and that breaks things.

    On their plug-in load page: AWD_facebook.php, line 589 is a method which loads the admin scripts. Line 596 reads:

    wp_enqueue_script($this->plugin_slug.'-jquery-ui');

    Change that to:

    //wp_enqueue_script($this->plugin_slug.'-jquery-ui');
         wp_enqueue_script('jquery-ui-core');
         wp_enqueue_script('jquery-ui-accordion');
         wp_enqueue_script('jquery-ui-tabs');

    And that should work (I’ve not fully tested their plug-in). If you do have any problems with it, open up your browser console. It will probably give a warning ‘Object [object Object] has no method xyz’ – the xyz will probably be jquery-ui related. (E.g. if its ‘tabs’ you would need to add wp_enqueue_script('jquery-ui-tabs'); (which I have ?? ). The list of WP provided jQuery ui scripts is available here.

    Another (minor) issue. The time/datepicker won’t look great – this is because Facebook AWD is loading a custom jquery-ui theme, that I don’t think works well with the WordPress admin theme. Unfortunately, its over-riding the EO-loaded jquery-ui theme.

    If/when the developers of Facebook AWD – If someone could post that here, it would be much appreciated ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Event Organiser] Can not change time’ is closed to new replies.