I am looking for a method to put différents slideshows on different pages. I mean every pages must have his own slideshow. Is it possible?

  • 1
    Of course it is, anything is possible with Drupal :) – No Sssweat Oct 17 '16 at 0:00

Assuming you're using the Views Slideshow module, for each slideshow you create, you also get a corresponding block that you need to position in an appropriate region.

So say you have 3 slideshows, ie ShowA, ShowB and ShowC, and you want to show them like so:

  • Show A on page with node id = X.
  • Show B on page with node id = Y.
  • Show C on page with node id = Z.

In this case, all you need to do is to adapt the "Visibility settings" (pages) for each block like so:

  • For the block related to ShowA, only show this block on page node/X.
  • For the block related to ShowB, only show this block on page node/Y.
  • For the block related to ShowC, only show this block on page node/Z.

Possible enhancements

Even though the above should be sufficient to answer your question, there are all sorts of enhancements to the above approach you may want to consider:

  • Use a content type (eg "Slide"), to create slides that you want to be shown in a slideshow. And optionally also add an extra field to that content type to identify in which slideshow (ShowA, ShowB, etc) you want an extra slide to be shown. And/or add another field to indicate some type of sequence (like slide nr) of those slides to be shown.

  • Use the Rules block visibility module to make the visibility of the blocks more dynamic, by using some Rules logic to yes/no show a specific slideshow-block. Refer to "How to stop a Views block from displaying to admins, such as user/1?" for way more details about how to use Rules block visibility.

  • This is similar to what our developer did; they also created a slideshow content type so that we could change the individual slides as and when we need. – Darren Whittenham-Gray Oct 16 '16 at 15:08
  • @DarrenWhittenham-Gray : actually such slideshow content type is what I typically also do/use to give more flexibility to the site's content maintainers. See my updated answer for a few other possible enhancements – Pierre.Vriens Oct 16 '16 at 15:31
  • Thank you so much Pierre. it is very complicated to use views. – Koçer Oct 16 '16 at 19:58
  • Comments have been removed. @Koçer Please don't use it for extended discussion. The user who answered the question should not be pinged to answer other related questions. If you don't understand what the user is saying in the answer, it is fine to politely ask. Don't expect the user visits your site to see what you don't understand. – apaderno Oct 18 '16 at 9:07

You can use Flex Slider module you can find the configuration for module in description and you can watch youtube video for configuration.

Now you can create slide shows blocks using views flexslider formatter here you can find various settings for slideshow in block.

Now you can see the blocks created by views in admin > structure > blocks.

Add this blocks on different page by adding "Visibility settings" to each block in block settings. By choosing only the listed pages at "Show block on specific page" option you can type URL of page on which you want this block (slide show) to display.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.