Download the PHP package richardhj/contao-notification_center_member_selectable without Composer
On this page you can find all versions of the php package richardhj/contao-notification_center_member_selectable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download richardhj/contao-notification_center_member_selectable
More information about richardhj/contao-notification_center_member_selectable
Files in richardhj/contao-notification_center_member_selectable
Package contao-notification_center_member_selectable
Short Description Member selectable messages for the notification_center extension for Contao Open Source CMS
License LGPL-3.0-or-later
Informations about the package contao-notification_center_member_selectable
Member selectable messages for the notification_center extension for Contao Open Source CMS
Imagine, you provide nc messages (e.g. an order confirmation) with different gateways (like email or sms). This extension provides a front end module which lets the logged in member choose, which messages (e.g. only the sms message and/or only the email message) he wants to receive.
Usage
Modify the messages of a particular notifiaction and tick the box "Is member selectable" (All messages without this box ticked will be sent anyway). Create a new front end module "Manage messages" (can be found in the category "user"). Select the notifications, the member can manage with this module. Place the module in the front end (e.g. in the member area).
Demonstration front end module
Interface: MessageDraftCheckSendInterface
The Interface can be added to any notification_center gateway and provides the function . This function will be called on saving the front end module (see below) and checks whether this message could be sent to this member.
For exemplary integration see . If you provide a notification_center gateway you can integrate the interface .
All versions of contao-notification_center_member_selectable with dependencies
contao/core-bundle Version ~4.4
doctrine/dbal Version ^2.7
terminal42/notification_center Version ~1.3
richardhj/contao-notification_center_checksendinterface Version ~1.0
symfony/config Version ^3.3 || ^4.0 || ^5.0
symfony/dependency-injection Version ^3.3 || ^4.0 || ^5.0
codefog/contao-haste Version ~4.11