Module Description
The Sidr integration for Drupal allows you to create "trigger" blocks. Clicking on these triggers use jQuery Sidr libraries to slide in/slide out a specified target element. This is very useful for implementing responsive menus and for other things like search filters. All you have to do is create one or more dedicated regions in your theme, say, mobile_menu and then configure a sidr trigger block to toggle it.
Installation
* Install this module; composer require drupal/sidr.
* Install the JS libraries as instructed in the README.
* Enable this module on your Drupal site; drush en sidr
* From the admin/structure/block page in your Drupal site, click on the Place block button for the region in which you want to place the trigger for your Sidr. This trigger will open/close your Sidr panel. Configure the block as per your needs and save your changes.
* The Sidr trigger should be visible on your site and if you click on the trigger, you should see a Sidr menu sliding out as per your configuration.
Resources
* Drupal + Sidr: Getting Started: A detailed tutorial (article).
* Drupal + Sidr: An introduction: A video tutorial.
* Sidr plugin issue queue for jQuery Sidr plugin issues.
* Sidr module issue queue for Sidr module issues.
Installation
* Install this module; composer require drupal/sidr.
* Install the JS libraries as instructed in the README.
* Enable this module on your Drupal site; drush en sidr
* From the admin/structure/block page in your Drupal site, click on the Place block button for the region in which you want to place the trigger for your Sidr. This trigger will open/close your Sidr panel. Configure the block as per your needs and save your changes.
* The Sidr trigger should be visible on your site and if you click on the trigger, you should see a Sidr menu sliding out as per your configuration.
Resources
* Drupal + Sidr: Getting Started: A detailed tutorial (article).
* Drupal + Sidr: An introduction: A video tutorial.
* Sidr plugin issue queue for jQuery Sidr plugin issues.
* Sidr module issue queue for Sidr module issues.
Module Link
Project Usage
603
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Sidr module solves the problem of creating trigger blocks for sliding in/slide out elements using jQuery Sidr libraries in Drupal, particularly useful for implementing responsive menus and search filters.
Data Name
sidr