BS Slider
This module provides a framework for creating flexible sliders, carousels, and galleries. It supports integration with various popular slider libraries and offers field formatters for content like text and media. Additional submodules enable integration with Drupal subsystems such as Paragraphs and Views.
Plugable slider, carousel and gallery framework implementation. This module does not provide any specific slider/gallery in its core, but offers plugable sliders support. Check the submodules for specific slider/gallery library integration.
More details
This module consist of bs_slider core modules that offers a framework for developing various slider/gallery integrations and bunch of submodules. Core is also offering various field formatter definitions for media, text and entity reference fields.
There are two types of submodules:
- First one are modules that are integrating sliders into various Drupal subsystems, like paragraphs, views, etc. Examples of this submodules are bs_slider_paragraphs, bs_slider_views and bs_slider_entity_reference_revision.
- Second type of submodules are sliders integrations, like bs_slider_bootstrap, bs_slider_tiny_slider and bs_slider_swiper.
Requirements
The bs_slider_bootstrap submodule requires the following modules:
- BS Lib (https://drupal.org/project/bs_lib)
The bs_slider_entity_reference_revisions submodule requires the following modules:
- Entity Reference Revision (https://www.drupal.org/project/entity_reference_revisions)
Te bs_slider_paragraphs submodule requires the following modules:
- Paragraphs (https://www.drupal.org/project/paragraphs)
Features
- Plug-able slider/gallery code base.
- Multiple configuration options set support.
- Built-in plugins:
- Bootstrap Carousel. All features from Bootstrap Carousel are supported.
- Custom Bootstrap Gallery Grid with next layout options: two main layout options grid and column, gutter option, number of columns option.
- Tiny Silder v2. No fancy config UI for now, you need to configure TinySlider instance in YAML format.
- Swiper JS support for 9.x, 10.x and latest 11.x versions.
- Couple of use-full field formatters:
- Text Formatter . Use it when you want to create slider/carousel with text items.
- Media Formatter. Use it when you want to create slider/carousel with media items. Anything that your media entities support will work: images, video, twitter items etc.
- Media Gallery Formatter. Use it when you want to create a gallery with thumbnails and full gallery view.
- Paragraphs plugin behavior integration.
- Views integration.
- Basic bs_slider template with proper template suggestion and inheritance.
TODO
- Caption support for media formatrer.
- Test coverage.
- File and image formatters?