This project is not covered by Drupal’s security advisory policy.
This is an API module that integrates remodal JavaScript library with Drupal Ajax API. It allows to open content in modal overlay using remodal.js.
Use'data-dialog-type' => 'remodal'for rendering ajax links as you would do for drupal modal dialogs ('data-dialog-type' => 'modal'), or useOpenRemodalCommand()instead of coreOpenModalDialogCommand()for building custom ajax response handlers.
Also you can set custom options as you would do for drupal dialogs (e.g.'data-dialog-options' => ['modifier' => 'custom-class']to add a custom class to remodal overlay).
Installation
- enable the module
- extract the contents of https://github.com/VodkaBears/Remodal/archive/master.zip to
/libraries/remodaldirectory so that the path to the files would be/libraries/remodal/dist
There is a usage example in src/Controller directory. Check /remodal/dev-page page for demo.
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Content display, Developer tools, Integrations
1 site reports using this module
- Created by kpv on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.