hofff/contao-dca-notification
Composer 安装命令:
composer require hofff/contao-dca-notification
包简介
This library sends notification for any dca based data container
README 文档
README
This extension allows to send notifications in the Contao backend for any database based data container using the Notification Center.
Requirements
- Contao
^4.9 - PHP
^7.4 || ^8.0 - Symfony
^4.4 || ^5.1
Install
You can install hofff/contao-dca-notification with Composer / Contao Manager.
Usage
- Create a new notification of the type DCA Submit Notification and select the table.
- A new legend Notification is created in the data container edit view
- Check checkbox Send Notification and select the created notification
Tokens
All fields being available in the active record of the data container are available as tokens.
- label_* The label of a field
- raw_* The raw value of a field
- value_* The parsed value of a field
- admin_email The email of the admin
Limitations
- This extension auto creates new columns for defined notifications but it does not delete it if the notifications are changed/deleted. This behaviour is designedly so that no configured notifications would be deleted accidentally. Use the install tool to clean up old columns instead.
- Though this extension is designed for a generic use case it should work with third party extensions. If not feel free to provide an pull request to achieve compatibility.
统计信息
- 总下载量: 70
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2019-03-06