WordPress.org

Forums

Popups - WordPress Popup
[resolved] Dashboard flyout menus don't work when editing popup (8 posts)

  1. zmokin
    Member
    Posted 1 year ago #

    Heya,

    Nothing major, bur when you are editing a popup, the WP Dashboard flyout menus (i.e. Appearance, Settings, etc.) don't appear when you hover over them.

    I tested when editing pages and/or posts and it works fine.

    Thanks.

    https://wordpress.org/plugins/popups/

  2. Damian
    Member
    Plugin Author

    Posted 1 year ago #

    Hi! Thats sounds like a javascript in the page. You have WordPress latest version? Do you know how to check your browser console for js errors?

  3. zmokin
    Member
    Posted 1 year ago #

    WP 3.9.1

    I deactivated all the plugins just in case - same result.

    I tested in different browsers - same result.

    Figured out how to do the js error checking, but have no idea what it all means so I took a screenshot in case it helps you:

    Error Screenshot

  4. Damian
    Member
    Plugin Author

    Posted 1 year ago #

    Yes you have quite js errors in there. The ones from the plugin on admin.js seems to be due to the color pickers which it's a WordPress feature since version 3.5.
    Looks like a plugin or the theme is affecting the normal behavior of color picker.

    So let's try something. Open in a editor a file called class-social-popup-admin.php located in popups/admin/ folder

    Then on line 379 add :

    wp_enqueue_script('wp-color-picker');
        wp_enqueue_style( 'wp-color-picker' );

    So it should read all togheter:

    if ( get_post_type() !== 'spucpt' || !in_array( $pagenow, array( 'post-new.php', 'post.php' ) ) ) {
    			return;
    		}
    		wp_enqueue_script('wp-color-picker');
      		wp_enqueue_style( 'wp-color-picker' );

    Let me know if that fix your issue

  5. Damian
    Member
    Plugin Author

    Posted 1 year ago #

    New version fixed the issue. Thanks!

  6. zmokin
    Member
    Posted 1 year ago #

    Sorry I didn't get a chance to test out your suggestion, but it looks like you got it figured out since it is working now.

    Thanks!

  7. TonyPearl
    Member
    Posted 11 months ago #

    Well... I'm sad to say that I still have this same exact issue.

    The flyout menus simply don't work in 99% of all my WP sites!

    This has been happening since the upgrade to around WP 3.8.?

    No matter what - I still have the issue, even if I:
    -Reload/reinstall WordPress 4.0
    -Deactivate all my plugins
    -Change themes
    -Jump up & down
    -Pray

    I know this is a minor irritation, but I still would love it if this feature of my WP sites could work again.

    Any suggestions?
    Thanks,
    Tony

  8. Damian
    Member
    Plugin Author

    Posted 11 months ago #

    Try pasting a screenshot like the one below to see where you javascript errors are coming from

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.