Viewing 8 replies - 1 through 8 (of 8 total)
  • keeperbay

    (@keeperbay)

    which bugs?

    Thread Starter Martin Tod

    (@mpntod)

    This one and this one for example.

    keeperbay

    (@keeperbay)

    Thanks

    a) helps to list the page this is on for editing. I think its this one:
    wsifront.class.php in this folder: plugins/wsi/wsi/front (if using the splash in front option as opposed to the splash after page load)

    b) it does appear as I found in another post that mailchimp plugin adds to the issue. If you load mailchimp and this plugin, dropdown menus stop working out of the default dropdown wordpress structure. Disabling this one OR mailchimp resolve it. For now I disabled mailchimp cause I need this one more than the mail chimp plugin I’m using.

    How do you code around this and other conflicts, no idea :/ Par for the course with wordpress plugins I guess.

    Thread Starter Martin Tod

    (@mpntod)

    Very often this happens because people aren’t using the standard jQuery installation or are overwriting it somehow.

    The best way to fix the problem is to rewrite the plug-in to use the standard WordPress version of jQuery.

    Thread Starter Martin Tod

    (@mpntod)

    For the record, this is on line 100 of /wsi/front/WsiFront.class.php.

    Thread Starter Martin Tod

    (@mpntod)

    Solution (assuming no bespoke code in the min file) is to change lines 94-98 of /wsi/front/WsiFront.class.php to:

    // Déclaration des scripts de la partie front end.
    			wp_register_script('jquery.tools.front', WsiCommons::getURL().'/js/jQueryTools/jquery.tools.min.wp-front.v'.JQUERY_TOOLS_FILES_VERSION.'.js'); /*[overlay, toolbox.expose]*/
    
    			// JQuery Tools
    			wp_enqueue_script('jquery.tools.front');

    to:

    // Déclaration des scripts de la partie front end.
    			wp_register_script('jquery.tools.front', 'http://cdn.jquerytools.org/1.2.7/all/jquery.tools.min.js'); /*[overlay, toolbox.expose]*/
    
    			// JQuery Tools
    			wp_enqueue_script('jquery');
    			wp_enqueue_script('jquery.tools.front',array('jquery'),FALSE,FALSE);

    Also need to change any reference to $jwsi( in /wsi/front/splash/overlay.inc.php to jQuery(.

    Thread Starter Martin Tod

    (@mpntod)

    Also need to change any reference to $jwsi( in /wsi/front/splash/content.inc.php to jQuery(.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Please use a version of jQuery Tools without JQuery library included’ is closed to new replies.