Active Directory Integration
Conflicting css files - with fix (1 post)

  1. smartredfox
    Posted 3 years ago #


    First off, thanks for a great plugin. This has made setting up an intranet site much easier for me and I really appreciate it.

    I hit an issue with conflicting css because you're including the jquery ui styles in your main admin css file (this causes problems with plugins like Gravity forms that have their own styles).

    In case it helps at all I restricted the css to just show on your settings page by doing the following:

    In ad-integration.php on lines 350 I changed your code to:

    add_action('admin_enqueue_scripts', array(&$this, 'load_styles'));

    And then I updated the load_styles function on lines 418 to 424 to:

    public function load_styles($hook) {
     //Only load script on settings page
     if('settings_page_active-directory-integration' !== $hook ) { return;}
     wp_register_style('adintegration',plugins_url('css/adintegration.css', __FILE__ )  ,false, '1.7.1', 'screen');

    It would be cool if this could be added in to the next update.

    Thanks again,


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Active Directory Integration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic