"Contact Save Remind" is a module that works with "Contact Save" to implement the ability to remind a user that he/she has outstanding unread saved contact form messages.

The "Contact Save" module ensures that a user doesn't miss any form submissions in the event of email failure, storing messages in the database. However, it requires the user to check if there are any new contact form submissions stored that they may not have received.

This module utilises the saved message 'read' status that "Contact Save" provides, and fires a hook (see csremind.api.php for hook details) when there are saved unread messages for the user to read. It means that the user doesn't have to constantly check for unread messages, they can be informed when there are new ones to read.

On its own this module will not have any visible effect to the user. It's job is to "know" that a user should have a reminder and to fire a hook when certain conditions are met (user permissions, reminder frequency etc). It's up to other modules to implement this hook and implement the functionality of a reminder, whatever form that may take.

The submodule that comes with this module, 'Contact Save Reminder Message', when enabled, implements the hook to remind the user by showing them a standard Drupal status message. See that modules README file.

You can create your own submodule to implement the reminder functionality in whichever way you see fit by implementing the "csremind_remind_user" hook provided by this module. Use the "Contact Save Reminder Message" module as an example of how to do that.

Further information about module configuration is contained in the module README file.

Project information

Releases