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.
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:contao-module
Requires
Suggests
- heimrichhannot/contao-modal: Allows to display disclaimer within modal windows
This package is not auto-updated.
Last update: 2025-03-01 21:59:26 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 ). |