About Field Change Notifier

Emails users with a given role when a watched field changes value.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Logs/Monitoring
Modules that maintain activity logs or monitor and report activity in some form or another.
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authornetcarver
Module Version0.6.0
Class NameProcessFieldChangeNotifier
Compatibility2.2, 2.3, 2.4
Date AddedOctober 22, 2012
Recommended ByNew recommendations may take up to 1 day to appear.

Details

Allows you to setup a watch on any fields in your installation of PW. You can specify when the watch will trigger by setting a "before" and "after" value. When the watched field changes value and the before-after combination matches the watch, it will trigger a customisable notification email to be sent to all the members with a selectable role.

Instructions

This module's files should be placed in /site/modules/ProcessFieldChangeNotifier/
How to install or uninstall modules

README

Field Change Notifier

Description

Allows you to setup watch conditions on fields (in specific contexts) and specify groups of users that should be notified when the condition is met.

Installation

  1. Copy the ProcessFieldChangeNotifier.module file into site/modules
  2. In the admin interface, navigate to the modules page and hit the “Check for new modules” button
  3. Click on “ProcessFieldChangeNotifier” in the new module message or scroll down until you locate it
  4. Click the “Install” button

Hooks

You can hook the triggerMatch() method if you want to define your own custom actions when a watch triggers.

License

GPL v2.

Versions

0.6.0 Changes for PSR conformity. Make triggerMatch hookable. Allow detection of changes to/from empty strings.
0.5.0 Make strings translatable. Fix another xdebug notice when the hook is triggered.
0.4.0 Only query the DB on a page save (Thanks Antti.) Fix xdebug notice when no watches are defined (thanks ceberlin.)
0.3.1 Adds the $page to the context passed to the tag parser. You can now access page properties using the {page.subfield} syntax.
0.3.0 Allow individual recipient users to be selected.
0.2.0 Allow multiple recipient roles to be selected and stop duplicate sends to users with more than one matching role.
0.1.1 Make compatible with Soma’s ModuleManager.
0.1.0 Initial release.

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.