WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Widget functionality - a bug or "feature"? (22 posts)

  1. intricateartist
    Member
    Posted 3 years ago #

    Upgraded to the latest & greatest, 3.2. Widget screen no longer has the drag/drop functionality - widgets open in a new window to modify, saving takes you back to the widget panel instead of keeping you within that widget - is this a new "feature" or am I buggy?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    I believe you are buggy. Everything still works the way it did prior to the upgrade for me, drag/drop, dropdown, etc

  3. intricateartist
    Member
    Posted 3 years ago #

    Okay, well I deactivated/reactivated all plugins and it did not correct the problem. PHP & MYSQL meet requirements.

    (Moderators, if you want to move this to another category now that would be great)

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Did you also try switching to twentyeleven theme? A few themes are surfacing which aren't 3.2 compatible

  5. Did you try changing to the default theme?

    A couple themes (Koi for one) is screwing up those options.

  6. intricateartist
    Member
    Posted 3 years ago #

    I don't want to change the theme, or I'll lose all of the widget content. I designed the theme myself, the only thing I have in there that references anything other than the content is the functions:

    if (function_exists('register_sidebars')) {
        	register_sidebars(3, array('name'=>'Sidebar %d'));
        }

    has that been depreciated?

  7. No, that should be fine.

    But if you're unwilling to TRY another theme, then try just renaming functions.php to functions.OLD

    Remember, the functions file acts like a mini plugin, so you can TOTALLY hose yourself in unexpected ways.

  8. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    I don't want to change the theme, or I'll lose all of the widget content.

    No, you won't. Your Theme-specific Widget settings are stored in the database. If you switch Themes, and then switch back, all of your previous Widget content will still be there.

  9. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    I designed the theme myself, the only thing I have in there that references anything other than the content is the functions:

    The Widgets functionality isn't your problem; rather, jQuery is the likely culprit. From what you describe, the WP-Admin area is having some issues that are normally script-related, causing the script-powered Widget drag-and-drop not to work.

    Where - and most importantly, how - are you enqueueing jQuery (or similar scripts)?

  10. intricateartist
    Member
    Posted 3 years ago #

    Here is what is loading on the widgets page:

    <script type="text/javascript">
    //<![CDATA[
    addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    var userSettings = {
    		'url': '/',
    		'uid': '1',
    		'time':'1310053175'
    	},
    	ajaxurl = '/wp-admin/admin-ajax.php',
    	pagenow = 'widgets',
    	typenow = '',
    	adminpage = 'widgets-php',
    	thousandsSeparator = ',',
    	decimalPoint = '.',
    	isRtl = 0;
    //]]>
    </script>

    There are a couple other references to jQuery on the widgets page, they are in wp-admin/load-scripts.php

    Odd thing is, I upgraded another site without a problem at all. :/

  11. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    Clear your browser cache. Seriously. Sometimes browsers love to hang on to old javascript libraries...

  12. intricateartist
    Member
    Posted 3 years ago #

    Nope, that didn't do it.

  13. intricateartist
    Member
    Posted 3 years ago #

    Also, I did switch over to twenty-eleven and went to the widgets panel - same same.

  14. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    Also, I did switch over to twenty-eleven and went to the widgets panel - same same.

    You switched to Twenty Eleven and deactivated all Plugins?

  15. intricateartist
    Member
    Posted 3 years ago #

    1. deactivated plugins
    2. switched to twenty-eleven.
    3. Cleared cache.
    4. went to widgets panel

    same result. No drag & drop, widgets open in a new page.

  16. intricateartist
    Member
    Posted 3 years ago #

    I just did the auto-reinstall as well. No luck.

  17. lucaswm
    Member
    Posted 3 years ago #

    I'm having the same problem...

  18. intricateartist
    Member
    Posted 3 years ago #

    I guess that's good - hang tight, someone will figure it out. :)

  19. JMK4189
    Member
    Posted 2 years ago #

    Hi, I had the same problem. But I think I have found the error: Go to the Widgets-Page-Options (near the logout-button) and deactivate the access-option.

  20. Harry
    Member
    Posted 2 years ago #

    Screen Options > Disable Accessibility Mode

    It somehow has turned this feature on I think.

  21. intricateartist
    Member
    Posted 2 years ago #

    FANTASTIC. Went to the widgets page, screen options, disabled accessibility mode - widgets are back to normal.

    Craziest thing ever. Why would someone even enable that? :P

    Thank you!!

  22. Harry
    Member
    Posted 2 years ago #

    It's for older browsers, i.e. if you're using IE7, or possibly IE6, which I think newer versions of WordPress have dropped support for. It's kind of like you use them at your own peril. The Javascript used for the drag-drop functionality might not be optimised or working at all for the said older browsers.

    Only recognised the problem, as I had to use accessibility mode before, due to some other bug I encountered.

    All the best.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags