Skip to main content

Posts

Showing posts from December, 2017

How to add a slider to your Drupal Website/ Blog

Views Slideshow module is very handy to display any images you want. In this tutorial, we are going to create a slideshow of all my articles.
Installation We start by downloading the Views Slideshow module by copying the link of the tar.gz file and then downloading it from our terminal.
wget https://ftp.drupal.org/files/projects/views_slideshow-8.x-4.6.tar.gz
Extract the contents of the file.

tar -xvzf views_slideshow-8.x-4.6.tar.gz
-xExtracts to disk from the archive.
-v Produces verbose output i.e. show progress and file names while extracting files.
-z Uncompresses the resulting archive with gzip command.
-f Read the archive from the mentioned file

Next, for Drupal to recognise the module so that we are able to download it, we move the module to the module subdirectory of Drupal.

mv views_slideshow /var/www/html/drupal/modules

We can now install the module so that we are able to use from our local website. Heading over to localhost/drupal/admin/modules, we should then be able to select …