• I am trying to install Featured Content Gallery plugin to my iNove themed website.

    But whenever I activate Featured Content Gallery my drop downs for iNove stop working.

    I have tried to do some research, and I think there is a conflict between jquery that inove uses and mootools – which featured content gallery uses.

    Is there anyway to make these 2 play nice together?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes, there is. Mootools and jquery don’t really like each other if you try to call them at the same time. Read this article on my site: https://mindshare.eamann.com/talk-it-out/

    I ran into this problem when I was using a e-commerce plug-in, too. This solution worked for me and so far everyone else who’s tried it. Give it a whirl and let me know if you have any questions.

    ericmann, you rule. I’ve had my skivvies in a knot on this one for over an hour, trying to solve a “vanishing drop down menu” issue in inove ( after setting up the featured content gallery ). Talk about hitting a nail squarely on the head. Your fix worked like a charm.

    Thanks!

    @claytonjames – Glad I could help.

    I seem to be having the same problem, but a different cause. I’m not using Featured Content Gallery, but mootools for an image slideshow. I get the error

    uncaught exception: [Exception… “Could not convert JavaScript argument” nsresult: “0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)” location: “JS frame :: /wp-content/themes/inove/js/mootools.js :: anonymous :: line 2004” data: no]

    On line 2004 of mootools there is: if (this.addEventListener) this.addEventListener(type, fn, false);

    I have no knowledge of javascript whatsover, but I’ve noticed that if I remove base.js and menu.js, the error is gone. So obviously, it’s these javascripts conflicting.

    Since neither of them are plugins (but I integrated the slideshow in the theme), I can’t use ericmann’s solution. Can anybody help me? I really need both scripts.

    @gsjosh – How are you loading the scripts in your theme? Are you calling them directly in the HTML code or using WordPress’ wp_enqueue_script() function?

    If you’re calling it directly, I’d recommend you instead move to the wp_enqueue_script() method. Place each script in its own function call and be sure to set the dependency variable. This will tell the site which script to load when and *might* fix your interference problem.

    For reference:
    https://codex.www.ads-software.com/Function_Reference/wp_enqueue_script

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘iNove Jquery and MooTools – Featured Content Gallery’ is closed to new replies.