heimrichhannot/contao-disclaimer
Composer 安装命令:
composer require 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.
README 文档
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). |
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2016-08-11