Closed (fixed)
Project:
Views Slideshow
Version:
6.x-2.1
Component:
SingleFrame
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
2 Jan 2011 at 07:33 UTC
Updated:
6 Apr 2012 at 03:40 UTC
hello everyone, i am a drupal starter, i created a website www.venussolutions.com i had a slideshow with floom effect of mootools. i am also intended to use views slide show, but slideshow doesnt turn up on front page, on troubleshooting i found error with external javascript i.e. floom slideshow
in firebug following error is marked up:
Error: $(".views_slideshow_singleframe_main:not(.viewsSlideshowSingleFrame-processed)", context) is null
Source File: http://venussolutions.com/sites/all/modules/views_slideshow/contrib/view...
Line: 12
the output of the front source is attached..
Any help will be appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| views error.JPG | 81.21 KB | tanay_lakhani |
Comments
Comment #1
redndahead commentedneed to alias the $
Comment #2
tanay_lakhani commentedcan you please elaborate? how to do this?
Comment #3
redndahead commentedIt's something I need to do, but in the code you would wrap the entire js file in.
Comment #4
cmstomI had an issue with the Views Slideshow not showing Pager control AND also not cycling. The conflict was with the file
sites/all/themes/[theme]/js/jquery.js
When I deleted that file the Views Slideshow worked. The problem was that the jquery file also controlled the main navigation rollovers and other jquery functions in the website. So I needed that jquery.js file.
Resolution:
Editing the theme's info file to load the Views Slideshow .js files AFTER the jquery.js file I mentioned above. Here's what my new .info file shows:
I first noticed the issue when I Viewed source on the page that was having the issue and noticed that js/jquery.js was NOT loading first, instead the Views Slideshow .js files were loading first. This led me to reorganize the .info file so that the js/jquery.js file is loaded first, THEN the Views Slideshow .js files.
Hope this helps!
Comment #5
tanay_lakhani commentedComment #6
redndahead commentedA patch to fix this was committed.
Comment #7
tanay_lakhani commentedbig thanx..