ProcessFieldChangeNotifier by Netcarver

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

h1. Field Change Notifier

h2. 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.


h2. Installation

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


h2. Hooks

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


h2. License

GPL v2.


h2. 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. |

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • ProcessWire 3.0.187: This week we have some very useful new additions to both the core Repeater Fieldtype and the ProFields Repeater Matrix Fieldtype. This post covers all the details along with a couple of brief demonstration videos— More
    22 October 2021
  • ProcessWire 3.0.185 (dev) core updates, plus new Session Allow module— More
    17 September 2021
  • Three new ProcessWire Textformatter modules: Find/Replace, Markdown in Markup, and Emoji— More
    3 September 2021

Latest news

  • ProcessWire Weekly #388
    In the 388th issue of ProcessWire Weekly we'll check out the latest core update, introduce two new third party modules, and more. Read on!
    Weekly.pw / 16 October 2021
  • ProcessWire 3.0.184 new master/main version
    This week we have a new master/main version released after a full year in the making. As you might imagine, this new version has a ton of great new stuff and we’ll try to cover much of it here.
    Blog / 27 August 2021
  • Subscribe to weekly ProcessWire news

“We were really happy to build our new portfolio website on ProcessWire! We wanted something that gave us plenty of control on the back-end, without any bloat on the front end - just a nice, easy to access API for all our content that left us free to design and build however we liked.” —Castus, web design agency in Sheffield, UK