alpdesk / contao-dialog
Dialog, Popup, Overlay for Contao based on HTML Dialog and Hotwire-Stimulus
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^8.3
- contao/core-bundle: ^5.3
- symfony/asset: ^6.4 || ^7.0
Requires (Dev)
- contao/manager-bundle: ^5.3
- contao/manager-plugin: ^2.0
- phpstan/phpstan: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-latest
- slam/phpstan-extensions: ^6.0
- symfony/phpunit-bridge: ^6.4
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
README
This bundle provides dialogs, popups and overlays for Contao as a content element or module based on the HTML dialog element and the Hotwire-Simulus dialog component.
There are two types of content elements and one type of frontend module.
Content elements:
- normal dialog element with text or/and unfiltered html
- nested dialog element in which other content elements can be inserted
Frontend module:
- normal dialog module with text or/and unfiltered html
Additional features for elements and module (can be combined):
- open with a button
- waiting period (in seconds)
- scroll value (in %)
- expiration time (in hours) dialog is hidden after first view
- dialog position - centered, bottom (left,center,right), top (left,center,right)
- dialog transform - fade, left, right, top, bottom
- show as modal (blocking content) or normal dialog (no blocking content)
Feel free to customize the bundle :-)