message_push
The Message Push module is a light weight bridge between the message module and the push framework. It fulfils a similar role to the message_notify module, but with the full flexibility of the push framework.
Also, it makes available the tokens for the message in the push framework notification template.
Message Push uses Flag module to allow users to subscribe to changes to any sort of entity. In Message Push you define subscription types that tie messages to flags and push types.
Some common use cases:
- Notify users when a comment is placed on their content
- Notify users when another user they follow posts a new blog post
- Notify users when a new event is created in their area
What it doesn't do
The module does not create any messages itself. You will need some other means of creating those, such as custom code, or the ECA module. If you choose that path, also consider tying the message to the push framework through ECA instead of this module.
Similar modules
- Message Notify
- ECA module. This module is a bit more complex, but also more powerful. It allows you to create rules that can trigger messages.
Requirements
This module needs Message, Flag, and Push Framework. They are not installed automatically when adding this module for maximum flexibility in versions of these modules you want to use (there is no technical dependency on these modules in that this module will not break when they are not present; it will just not be very useful without them).
Installation
Install as you would normally install a contributed Drupal module.
Configuration
- Enable the module
- Create a flag that will be used to subscribe to messages
- Create a message type that will be used to send messages
- Visit /admin/config/people/subscription-type
- Add a new subscription type tying the flag to the message type
Maintainers
Current maintainers: