On this page
Installation & Requirements
This documentation needs review. See "Help improve this page" in the sidebar.
REQUIREMENTS
- Views Slideshow 8.x-4.x requires Drupal 8 & the core Views module enabled.
- There is no upgrade path from Views Slideshow for Drupal 7.
- Views Slideshow Cycle (Which most users should use) requires some JavaScript libraries:
INSTALLATION
Install as you would normally install a contributed Drupal module. See the Drupal 8 Instructions if required in the Drupal documentation for further information. Note there are two modules included in this project; Views Slideshow & Views Slideshow Cycle. In most cases you will need/want to enable both of them.
If you are using the Views Slideshow Cycle sub-module, you will also need to install some JavaScript libraries. The required libraries are:
- jQuery Cycle 3.x in
/libraries/jquery.cycle
- JSON2 in
/libraries/json2
- jQuery HoverIntent in
/libraries/jquery.hoverIntent
- jQuery Pause in
/libraries/jquery.pause
It is recommended to use Drush to automatically install the requirements to the right spot. To install all of the libraries to the right places, run drush dl-cycle-lib
.
If you don’t have Drush available, or would prefer to install manually, you can do so. An example of code you could run in your Drupal root dir to download to the right place:
mkdir -p libraries/jquery.cycle && cd $_ && wget https://malsup.github.io/jquery.cycle.all.js \
&& mkdir -p ../../libraries/jquery.hoverIntent && cd $_ && wget https://raw.githubusercontent.com/briancherne/jquery-hoverIntent/master/jquery.hoverIntent.js \
&& mkdir -p ../../libraries/json2 && cd $_ && wget https://raw.githubusercontent.com/douglascrockford/JSON-js/master/json2.js \
&& mkdir -p ../../libraries/jquery.pause && cd $_ && wget https://raw.githubusercontent.com/tobia/Pause/master/jquery.pause.js
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion