WordPress.org

Ready to get started?Download WordPress

Forums

WP-TopBar
[resolved] Admin Bar Not Working When WP-TopBar isActive (12 posts)

  1. istiridye
    Member
    Posted 2 years ago #

    Hello,

    When mouse hovers the main menu item in the admin bar, the submenu is opened, but when mouse is moved the submenu is closed so submenu items cannot be used.

    This occurs only when wp-topbar is active.

    Thank you for your effort and interest.

    Kindly,

    http://wordpress.org/extend/plugins/wp-topbar/

  2. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    istiridye, what version of the plugin are you using? The latest versions have submenus that are automatically shown in the left sidebar. Thus, the submenu never closes.

  3. istiridye
    Member
    Posted 2 years ago #

    Bob g, the plugin version i am using is 3.09

    Thanks for your interest

  4. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    I tried to solve the problem by I am having trouble recreating it. Can you capture some screen shots and then send me a link to them in the reply below? That way I can see exactly what your issue is.

    Bob

  5. istiridye
    Member
    Posted 2 years ago #

    Thank you, here is a small video of what happens: http://www.mjturkfan.com/downloads/wptopbar.avi

  6. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    Exactly what I needed to see.

    My plugin does not adjust or change any of the Admin Bar (at the top of the screen.)

    There may be a conflict with an existing plugin that you have and TopBar. One option is for you to turn off all your plugins except TopBar then add each one back on (one by one) until you find the conflict. If you tell me the combination, I can try to see what is wrong and which plugin needs to be fixed.

    Also, have you tried using Chrome and Looking at the JavaScript console to see if there are any errors? (View | Developer | JavaScript Console) That may point to the conflict.

  7. istiridye
    Member
    Posted 2 years ago #

    Here is the error:
    http://g1206.hizliresim.com/y/7/7m1n5.jpg

    I've disabled about 10 suspicious plugins one-by-one (i can't disable all, because the site is live), but it didn't resolve the problem. I may try others, if the error below won't help.

  8. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    Are you sure that the image you sent me is from the Admin pages? Because that javascript is only added to non-admin pages.

    The error is because javascript cannot find the HTML element "wptbheadline". That element is only added to non-admin pages when the TopBar will be displayed. It should never show up on an admin page.

    I use the WordPress function is_admin() to check to see if the user is on an admin page.

    If the image is from the admin page, then you have some plugin that is making TopBar think it is not on the Admin page and thus causing the JavaScript error.

    OR

    You have found a defect in the core of WordPress.

    Bob

  9. istiridye
    Member
    Posted 2 years ago #

    :) No it's not from the admin page. That bar is used in non-admin pages either, that's why i've checked the error from a non-admin page.

    I can supply a password to you if you'd like.

  10. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, send me an email. My address is in the plugin's readme.txt file. I don't want to post it here.

  11. istiridye
    Member
    Posted 2 years ago #

    Mail sent. Thank you.

  12. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    Istiridye found that there was a CSS confict in his settings:

    z-index of the admin bar is 1000.
    z-index of wp-topbar was 99999.

    Thus the TopBar was displayed over the admin bar.

    He updated it (on the CSS options tab) to 999 and now it doesn't overlay the admin bar.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.