Notify the content author about changes
Last modified: November 19, 2007 - 19:57
Required modules: -
array (
'cfg4' =>
array (
'#type' => 'configuration',
'#label' => 'Notify the content author about changes from other users',
'#event' => 'node_update',
'#module' => 'workflow-ng',
0 =>
array (
'#type' => 'condition',
'#negate' => 1,
'#argument map' =>
array (
'author' => 'user1',
'user' => 'user2',
),
'#name' => 'workflow_ng_condition_user_comparison',
'#label' => 'updating user is author',
),
'#altered' => true,
1 =>
array (
'#type' => 'action',
'#name' => 'workflow_ng_action_mail_to_user',
'#settings' =>
array (
'message' => 'Hello [author_unchanged:user]!
Your [node_unchanged:type-name] with the title [node_unchanged:title] has been modified by [user:user] at [node:site-date]:
[node:site-url]/node/[node_unchanged:nid].
--- [node:site-name]',
'subject' => '[node_unchanged:title] has been modified!',
'message_args' =>
array (
0 => 'node',
1 => 'user',
2 => 'node_unchanged',
3 => 'author_unchanged',
),
'subject_args' =>
array (
0 => 'node_unchanged',
),
'from' => 'yourmail@example.com',
'from_args' =>
array (
),
),
'#label' => 'Inform the author by mail',
'#argument map' =>
array (
'author' => 'user',
),
),
'#name' => 'config4',
),
)
Notification of published status?
Will this notify the author if the node status changes from unpublished to published?