Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
pfournier CreditAttribution: pfournier commentedHi 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
Comment #2
pfournier CreditAttribution: pfournier commentedDrupal 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