Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter AITpro

    (@aitpro)

    Also jquery-ui-1.8.14.custom.min.js is being blocked as well with FilesMatch until this issue can be corrected. This unfortunately causes your plugin to break.

    Plugin Author AHWEBDEV

    (@ahwebdev)

    Hi,

    I am woking on new verion 0.9.9,
    I will add some special hook to add this file only where it’s needed.

    this file is needed in all post type editor, and in AWD pages.
    It will be fixed in 0.9.9

    I created an issue tracker for that.
    http://trac.ahwebdev.fr/issues/84

    Thanks!

    Plugin Author AHWEBDEV

    (@ahwebdev)

    In fact i can’t limit the UI.css only in admin pages of AWd.

    This file is required to get hte openGraph form to work on all edit page,

    if you want remove it, you can simply add wp_dequeue_style and wp_dequeue_script functions.
    in a plugin in the init hook of your admin.

    you can do

    <?php
    global $AWD_facebook;
    wp_dequeue_style($AWD_facebook->plugin_slug.'-jquery-ui');
    wp_dequeue_script($AWD_facebook->plugin_slug.'-jquery-ui');
     ?>

    Thread Starter AITpro

    (@aitpro)

    Does openGraph need to work throughout the WordPress admin backend area and in other plugin’s admin options pages? I think you mean that it only needs to be loaded everywhere on the front end of WordPress, which is fine and would not interfere with WordPress or other plugins.

    Did you look at the link i posted in my first comment above. It shows how to contain your plugin’s css and js from loading throughout the WordPress backend and only loading in your plugin’s options pages, which it should already be doing. It may be that you need to use a specific WP function that is specific to loading scripts in the admin area and also a separate function for loading your scripts throughout the frontend of WP for your type of plugin.

    I don’t think it is appropriate for me to add coding to compensate for a coding flaw in your plugin. There are many other plugins that share the WP jquery libraries without causing problems for other plugins – my plugin BPS is not interfering with your plugin because i have contained my css and js to my plugin admin options pages so you should also implement this in your plugin. Thanks.

    Plugin Author AHWEBDEV

    (@ahwebdev)

    I know perfectly how to add script on specific pages,

    You just need to wait the 0.9.9, or just use the solution above.
    OpenGrapah need the Jquery UI in admin post, page, and cutom post type editor page.
    So i need to list all the edit page that is used, and add the library only on it.

    Thank you

    Plugin Author AHWEBDEV

    (@ahwebdev)

    Note: the next version of the plugin contains majors update, so It will only work on wordpress 3.3 and after.

    Thread Starter AITpro

    (@aitpro)

    Oh my mistake. I did not realize that you were offering this fix as an interim fix. I apologize for that misunderstanding. Thanks.

    Plugin Author AHWEBDEV

    (@ahwebdev)

    Your welcome, my english is so poor…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Facebook AWD All in one] jQuery CSS Admin Area issue’ is closed to new replies.