• Resolved mhomann

    (@mhomann)


    After upgrading to wordpress 3.5, the “add media” button does nothing if the arjuna x theme is active.

Viewing 15 replies - 31 through 45 (of 48 total)
  • Arjuna X seems to break a lot of javascript features of wordpress… I just tried moving my widgets around (on your behalf) and that doesn’t work for me either!

    I really do wish the developers pick this up again – i have spent hours searching for a similarly-professional looking theme and still haven’t found an alternative!

    any new infos?
    has anyone got a feedback from SRS?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I had somebody send me a copy of this theme so I could figure out what the problem is.

    Solution:

    1. Delete the /lib/jquery-ui-1.8.10.custom.min.js file. You don’t need it.

    2. In the theme’s functions.php file, at line 1910, change this line:

    wp_enqueue_script('arjunaJQueryMinJS', get_template_directory_uri() .'/lib/jquery-ui-1.8.10.custom.min.js');

    To this:

    wp_enqueue_script('jquery-ui-draggable');

    Explanation:

    The jquery-ui-1.8.10.custom.min.js file is a combination of the jquery-ui-core, jquery-ui-widget, jquery-ui-mouse, and jquery-ui-draggable sections of the jQuery UI package.

    WordPress includes the correct copies of jQuery-UI built right in. So by enqueuing the jquery-ui-draggable that is already built into WordPress, it will include the same jQuery-UI components that the custom file had automatically. Except WordPress has the correct versions of the components to work with the newer jQuery that is also included in WordPress itself.

    I tested this fix on a local copy of the “Arjuna X” theme and found no issues.

    Thank you so much – this works perfectly!

    Is this theme open-source and licensed to the point where someone else can take it over or release it with a new name and maintain it well over time, perhaps…? ??

    Otto this is great!!
    runs smooth again

    Hi guys, where exactly will I find:

    1. the /lib/jquery-ui-1.8.10.custom.min.js file
    2. the theme’s functions.php file

    Will much appreciate your help.

    the lib folder is under:
    wp-content\themes\arjuna-x\lib

    the functions.php file is located in:
    wp-content\themes\arjuna-x

    Thanks a lot buckhesi and to all of you. Runs as smooth as before.

    Thanks otto.

    1.upload jquery-ui-1.9.2.custom.min.js to folder “wp-content\themes\arjuna-x\lib”

    2.edit “wp-content/themes/arjuna-x/functions.php”:replace “jquery-ui-1.8.10.custom.min.js” with “jquery-ui-1.9.2.custom.min.js”

    also runs as smooth as before.

    Hmm… I’m torn now… what’s the difference between both methods??

    Does one method future-proof it more?

    Does one method remove some of the functionality?

    Are both methods absolutely identical?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The method I suggested is preferred, because it changes the theme to use the core WordPress copies of jQuery-UI. This means that when you upgrade WordPress, it will correctly use the new libraries automatically.

    The method lantern suggests is not future-proof, and could break again with an upgrade. Note that WordPress 3.6 is very likely to contain a new version of jQuery as well, since they are planning to release jQuery 1.9 before 3.6 will be released.

    Thanks Otto – I’ve just “solved” this problem on our site due to your post!!

    Cheers

    Roger

    Tech Ninja’s fix worked great!! Very Simple also. It fixed switching back and forth from “Visual” to “Text” on Post Edits, the “Upload Media” button, and the loading of the WP blog and news feeds on the Dashboard’s Home page. Probably some others as well, but those were the only onews that jumped out at me.
    THANKS AGAIN!!

    Thanks Otto.
    Arjuna-x is my favorite theme and thanks to you I can continue using it.

    Thanks from the Basque Country.

    Josean.

    I cannot locate the wp-content\themes\arjuna-x\lib folder on my MAC. The only theme folders I seem to have are twentyeleven and twentytwelve. This is so frustrating!

Viewing 15 replies - 31 through 45 (of 48 total)
  • The topic ‘Arjuna X breaks wordpress 3.5’ is closed to new replies.