WordPress.org

Ready to get started?Download WordPress

Forums

CSS & JavaScript Toolbox
[resolved] Conflict with "WPIde" (2 posts)

  1. ex7r3me
    Member
    Posted 11 months ago #

    Hello
    Many thanks for this awesome plugin, i'm using this for month for managing my css and js .

    i'm using Version 6.0.13 ,recently i had a problem when i wanted to create a new block, in the "Create New Code Block" after clicking "create" it return a "0" in window , after disabling plugins i've found out after disabling "WPIde" the problem is solved and when i activate it the problem is happens again.

    i can still use both plugins with disabling wpide when i want to add a block but is there a solution for this conflict ?

    http://wordpress.org/extend/plugins/css-javascript-toolbox/

  2. wipeoutmedia
    Member
    Plugin Author

    Posted 11 months ago #

    Hello,

    Glad you like the Plugin and interesting using it. Thanks for you comment regards the Plugin. Your feedback is very important to us!

    I've just installed the WPide Plugin and made test along with the CJT Plugin. I then found that the WPide Plugin intentionally getting involved with any AJAX requests that done to the server! CJT Plugin is about 99% depends on the Ajax requests. I've looked inside the WPide and I found the following lines @line 47 in the wpide/wpide.php Plugin file.

    //only include this plugin if on theme editor, plugin editor or an ajax call
    if ( (isset($_GET['page']) && $_GET['page'] === 'wpide') || preg_match('#admin-ajax\.php$#', $_SERVER['PHP_SELF']) ){
    ....

    When the Plugin is get involved with the AJAX request it link the ACE Editor script and other scripts that bundled out with the WPide Plugin. The result of those linked scripts is a Javascript error/exception (Uncaught ace.edit can't find div #fancyeditordiv) that prevent CJT Javascript code from being reached and therefore not executed.

    Please contact the WPide Plugin author and let me if I'm wrong so we can arrange a solution.

    Hope that help.

    Regards,
    Ahmed

Reply

You must log in to post.

About this Plugin

About this Topic