Support » Plugins and Hacks » Testimonials Widget » Javascript Conflict(s)

  • Resolved maxbrown

    (@maxbrown)


    Michael,

    I’m testing out the plugin on a non-profit site I’m working on, but having an issue maybe you know how to fix. Essentially when Testimonial Widget is active, many other Javascript widgets don’t function properly – e.g. ddsmoothmenu, nivoSlider. When I deactivate the plugin, everything works fine.

    Have you experienced this issue before?

    Thanks,
    – Max

    http://wordpress.org/extend/plugins/testimonials-widget/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Michael Cannon

    (@comprock)


    Have you looked at the web browser developer tools console window to debug the conflicts?

    Are you running latest versions of all plugins and themes?

    Frequently, there’s a theme conflict somehow.

    Hi Michael,

    Thanks for the response.
    I am running the latest versions of everything.

    I don’t think it’s a theme conflict – it may be a ddsmoothmenu conflict though.

    The only console troubleshooting I’ve been able to see is that when I have the testimonials plugin active I get a new error:

    Uncaught TypeError: Property 'undefined' of object #<Object> is not a function

    coming from:
    jquery.easing.1.3.js:46

    And it hits (adds/increments a new error) every time I scroll.

    ddsmoothmenu also shows an error:

    Uncaught TypeError: Cannot call method 'children' of undefined

    coming from:
    ddsmoothmenu.js:110
    which is…
    header.$shadow.children('div:eq(0)').css({opacity:0})

    Any thoughts? This may well not be enough to help you help me, but maybe it’ll spur a thought.

    Plugin Author Michael Cannon

    (@comprock)


    What’s the URL?

    I have it behind an under construction – site is chicagodebatecommission dot org, but you have to login from admin with tempuser/tempuser first and then navigate back to homepage to see it.

    Plugin Author Michael Cannon

    (@comprock)


    Okay, I see the site.

    Your theme as suspected is calling up old versions of jQuery files and such, 1.7.2 in fact. See if you can get the theme author to update and call in JavaScript files correctly via wp_enqueue_script and wp_register_script. Also, the scripts are all being loaded in the wp_head than wp_footer.

    Worst case scenario, I’d say comment out line 501 of testimonials-widget.php, to temporarily fix things.

    Makes sense. And you’re right, the temp fix works perfectly, they both play nice with 501 commented, but it’s not ideal. I’ll have to try the theme author – unfortunately I don’t think I can hold my breath waiting for them to update.

    Thanks for the help, I really appreciate it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Javascript Conflict(s)’ is closed to new replies.