WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Integration
[resolved] jQuery UI scripts Conflict with Admin Page (3 posts)

  1. toccia
    Member
    Posted 1 year ago #

    Hello there. I use a theme of yootheme (Maybe you know about that), and if you GREAT plugin is activated, it mess up the layout of the yootheme admin page.
    From their support they told me:

    "You should disable the loading of the jQuery UI scripts that that plugin loads in all the Joomla Admin pages, ideally, it should only call those scripts in its own Admin page."

    But I have no idea how to do it... I don't know if you can help. I would really appreciate this.

    Many thanks,

    Francesco
    European University Institute

    http://wordpress.org/extend/plugins/active-directory-integration/

  2. toccia
    Member
    Posted 1 year ago #

    Ok, I got to fix it, by commenting out the following lines (from the file: ad-integration.php ):

    public function load_scripts() {
    wp_enqueue_script('jquery-ui-tabs'); // this is a wp default script
    wp_enqueue_script('jquery-ui-dialog'); // this is a wp default script
    }

    Now, the plugin admin settings page is not tabbed, it looks bad but it's working... and the yootheme admin page is working as expected!

    Do you think that I have affected some features of the plugin?

    F.

  3. glatze
    Member
    Plugin Author

    Posted 1 year ago #

    No, this doesn't effect any feature. But it looks ugly. ;-)

    I think it's not a good idea to use separate jquery scripts. I use the default ones which come with WordPress. Sorry, I won't fix that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic