heimrichhannot / contao-disclaimer
Disclaimer brings a backend and frontend module to contao. If the user for example tries to download a file, he first has to accept a disclaimer.
Package info
github.com/heimrichhannot/contao-disclaimer
Type:contao-module
pkg:composer/heimrichhannot/contao-disclaimer
2.0.0
2018-02-06 08:38 UTC
Requires
Suggests
- heimrichhannot/contao-modal: Allows to display disclaimer within modal windows
This package is not auto-updated.
Last update: 2026-03-01 03:48:01 UTC
README
Disclaimer brings a backend and frontend module to contao. If the user for example tries to download a file, he first has to accept a disclaimer.
Features
- Protect file download by adding a disclaimer
- Multiple language support (depending on available page languages)
- Extendable by several hooks
- Works perfectly together with
heimrichhannot/contao-modal, just install it and display disclaimers within modal windows.
Hooks
| Name | Arguments | Expected return value | Description |
|---|---|---|---|
| showDisclaimer | $objDisclaimer, $blnAccepted | false if should break, otherwise void | Add custom showDisclaimer logic. (For example see: heimrichhannot/contao-modal). |
| getDisclaimerSourceOptions | $arrOptions, $dc | $arrOptions | Add custom source options to tl_disclaimer. (For example see: heimrichhannot/contao-modal). |