Auto-Dialog
Categories
Component ID
2244985
Component name
Auto-Dialog
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
3661
Component created
Component changed
Component body
Drupal 8 dialog system for Drupal 7.
Module use standart Drupal AJAX Framework and jQuery UI Dialog.
Use
1. Enable module
2. Add to page link with class autodialog
3. Profit :)
Custom dialog options
Put custom dialog options in data-dialog-{option-name} attribute. Example:
<a href="/contact" class="autodialog" data-dialog-width="500">Contact</a>
<a href="/contact" class="autodialog" data-dialog-title="Feedback">Feedback</a>
AJAX forms
Module support Asaf. Enable Asaf using attribute data-dialog-ajax="true". Example:
<a href="/contact" class="autodialog" data-dialog-ajax="true">Contact</a>
To disable Asaf form redirect use attribute data-dialog-ajax-disable-redirect="true". Example:
<a href="/contact" class="autodialog" data-dialog-ajax="true" data-dialog-ajax-disable-redirect="true">Contact</a>
Screencast (WebM format).
Similar modules
* Dialog
* Simple Dialog
* Popup
* CTools Auto-modal
* Automodal
* Modal forms (with ctools)
* Colorbox Node
