The documentation states:
"Download the Superfish library and extract it to sites/all/libraries/superfish (so that the superfish.js will be located at http://example.com/sites/all/libraries/superfish/superfish.js)"
Upon downloading either the library or master branch library, the superfish.js file is nested inside of superfish/dist/js -- therefore, there is no way to extract this library into a path where superfish.js is located where the documentation recommends it, unless you physically copy the .js file there. As a result, I am not able to get this module to work, when attempting to follow the documentation instructions explicitly.
I copied the js and css files to the root of libraries/superfish, but that did not seem to resolve the issue ($.browser is undefined appears, even with the development version of the module and the master version of the library).
Am I doing something wrong or missing something obvious?
Comments
Comment #1
mengi commentedWhere are you getting the library?
If your using the dev version, then it should be https://github.com/mehrpadin/Superfish-for-Drupal/archive/master.zip. I can't see a dist folder in that zip.
Comment #2
ajayg commentedI am finding it difficult to install also. Copied the library under sites/all/libraries/superfish. gave the same path as
"sites/all/libraries/superfish" in module settings. Still it is not working (after cleaning the cache etc)
Comment #3
mengi commented@ajayg, where are you getting the library from? And are you getting errors in the status report? If so, post it on here. You guys are doing something wrong, as it installs fine for me and others, we simply need to find out what.
Comment #4
joshuabud commentedUsing the following instructions for the dev version of the superfish module:
Provides this error on the status report.
http://screencast.com/t/cP1RP8iCI
I think this issue happens because we are trying to use the master branch from the superfish authors github page.
Comment #5
lobsterr commented