Hello,

This email seems to do what I want better than workflow-ng. How difficult would it be to add a "On Comment" trigger to assign actions to? This way I could trigger an action (send an email to the author) every time the node was commented on. I reviewed the code and it doesn't seem like it would be too tough, but I'm not expert, especially when it comes to specific Drupal functions.

Thanks in advance.

Jesse

Comments

pfournier’s picture

Hi Jesse,
You are right, it would not be too hard to extend the module to do what you want. Just a matter of copy-pasting some code, and implementing hook_comment().

If you want to do it, go ahead and I'll incorporate your code into the module.

BTW, if you are using Drupal 6, there is a trigger module in the core. Eventually I would like to wie some code to port my trigger data to the new module.

Patrick

pfournier’s picture

Status: Active » Closed (won't fix)

Drupal 6 Actions and Trigger modules have been backported to Drupal 5 in the module Actions 2.0. This module does exactly what you want.

Patrick