Can someone help porting this to Drupal v6.0 ?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | action_email_role_d6-plain.patch | 5.17 KB | becw |
| #7 | action_email_role_d6-type_restrictions.patch | 7.2 KB | becw |
| #4 | action_email_role_d6-plain.patch | 5.28 KB | becw |
| #4 | action_email_role_d6-type_restrictions.patch | 7.32 KB | becw |
Comments
Comment #1
dgtlmoon commentedsounds good, i'll give it a go in the near future, any other votes for this?
Comment #2
optalgin commentedI started with extension to the send email action to allow email to list of recipients
hope I'll have some time during to weekend to proceed with the emails to role as well
Comment #3
dgtlmoon commentedawesome!
Comment #4
becw commentedI'm using this for a project on Drupal 6, so I've ported the module, and I thought I'd share the code; it's attached as "action_email_role_d6-plain.patch"
I also added a bit of code to restrict sending emails depending on the node type; D6 triggers are pretty simplistic out of the box and only address "node created" rather than something like "blog node created". This is attached as "action_email_role_d6-type_restrictions.patch"
Comment #5
dgtlmoon commentedThanks for the patches! which revision did you patch from? i'm getting errors against current HEAD
Comment #6
becw commentedah, sorry, I didn't patch against HEAD--I was using the DRUPAL-5--2 branch for some reason. I'd be happy to make it work against HEAD, but I might not get to it for a week or two...
Comment #7
becw commented@dgtimoon:
I just went to compare my code to HEAD, and HEAD doesn't have a working version of the code; I could produce a patch for it but it would basically consist of "replace everything in HEAD with xyz". If you want to use my work, I suggest just applying my patches to the DRUPAL-5--2 branch.
And actually, I found a bug in the -type_restrictions patch, so I'm attaching fresh versions of both patches.
Comment #8
dgtlmoon commentedheya bec, thanks for the patch - i dont have enough production sites to test this on, do you want CVS/project access so you can manage the release of 6.x?
Comment #9
arnoldc commentedIs the latest patch + 5.2 branch download will work in Drupal 6. And how do I apply the patch exactly? I try to use patch utility that comes with OS-X but doesn't work. Thanks.
Comment #10
becw commented@dgtlmoon -- sure, if you give me CVS access I'll be happy to work on the D6 version of this module.
Comment #11
becw commentedoh, and arnoldc: I'll roll a dev release for Drupal 6 when I get CVS access. For the time being, there is a howto on applying patches here: http://drupal.org/node/60108
You are correct when you say that the latest patch in this thread + the 5.2 branch download will work in Drupal 6.
Comment #12
dgtlmoon commentedheya bec, you should have access now
Comment #13
becw commentedI've created a Drupal 6 branch and rolled a beta release.
Comment #14
arnoldc commentedThank you so much. I am eager to try it out!
Comment #15
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.