2
votes

I'm a complete Drupal noob and am currently trying to get nivo slider working on my new site. I've followed the various instructions (mostly from this video) and added the module but when I get to the end of the process when the slider should be working I instead get my images stacked one on top of another and in the debug console the message "vns.nivoSlider is not a function".

I've used Nivo slider on non-Drupal sites before and I know how easy it should be, anyone have any ideas what's going wrong here?!

Update: I uninstalled and reinstalled all Drupal modules associated with Nivo Slider and now it works! Weird.

2

2 Answers

1
votes

It appears you may not have inserted the necessary javascript file(s) OR inserted them AFTER the code is being executed on the page. Can you provide a link to the page in question so to help determine if that is the cause?

1
votes

I had same issue in Nivo Slider on Drupal 7. I didn't read the module's documentation at first but it looks like Nivo Slider's library isn't included in the package, it means you need to upload it manually.you can check documentation : https://www.drupal.org/project/views_nivo_slider

install/enable Library API
download Nivo Slider libs from https://github.com/gilbitron/Nivo-Slider/downloads
unzip the archive to sites/all/libraries/nivo-slider

After completed above process flush the case. Hope it will work for you.