Viewing 5 replies - 1 through 5 (of 5 total)
  • This could be the same problem I’m having – in Article Lists->Article Lists, the large left ajax updated area remains blank while I try to add lists. The search functions for lists and posts also do not work.

    The errors shown (in Chrome developer tools) are:

    Uncaught TypeError: Cannot read property ‘prototype’ of undefined wpdialog.min.js:1
    Uncaught TypeError: Object [object Object] has no method ‘slider’ page-main.js?ver=2.8:1

    Attempting to use the pull down to select a list then results in:

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

    I’m using 3.7.1

    Thanks

    The problem seems to be that jquery.ui.slider.js,draggable.js and resizable.js are missing. To fix this, I downloaded resizable.js and slider.js it from query (1.92), uploaded them to the /plugins/arlima/js/jquery directory. The third file, draggable, is already there, and needed a fix in the code to make it appear in the rendered page (given below).

    then edited arlima/classes/Page/Main.php and added the following lines:

    line 113:
    wp_deregister_script(‘jquery-ui-slider’);
    wp_deregister_script(‘jquery-ui-resizable’);

    line 121:
    wp_register_script(‘jquery-ui-slider’, ARLIMA_PLUGIN_URL . ‘js/jquery/jquery.ui.slider.js’, 12, true);
    wp_register_script(‘jquery-ui-resizable’, ARLIMA_PLUGIN_URL . ‘js/jquery/jquery.ui.resizable.js’, 12, true);

    line 129:
    wp_enqueue_script(‘jquery-ui-slider’);
    wp_enqueue_script(‘jquery-ui-resizable’);
    wp_enqueue_script(‘jquery-ui-draggable’);

    Initially that seems to have cracked it. I have a searchbox of posts on the right, can drag them into my list on the left, and they display on the frontend. I’m completely new to this plugin though, so I am not yet sure if something else isn’t working.

    Thread Starter Stanislav Khromov

    (@khromov)

    Thanks for the info hqarrse3.

    I hope the developer can chime in and fix the plugin according to your instructions. ??

    Plugin Author victor_jonsson

    (@victor_jonsson)

    Great work!

    We have not yet moved up to version 3.7.1 but I will make sure we bring this fix along with us when we do.

    Plugin Author victor_jonsson

    (@victor_jonsson)

    This was not an issue with Arlima. You must have a broken installation or have a plugin installed messing with wordpress core scripts.

    All scripts (slider, draggable and resizable) is shipped with wordpress and registered in wp-includes/script-loader.php (lines 169, 175 and 177)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Broken with WordPress 3.7?’ is closed to new replies.