Having the choice to send an email notification or not for each node to be moderated.

jfduchesneau - February 23, 2009 - 13:57
Project:modr8
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

The idea would be to give to moderators the possibility to decide, for each node they are moderating, if they want to send an email notification or not. For that purpose, a "send email notification" checkbox would be added below the "ops" section of every node teaser, in the "Moderated content" page (see snapshots in attachement). This checkbox would replace the current "send / not send emails" checkboxes that are found in the module settings part.

I had to implement that feature for a customer, and I'm proposing my changes here. Here's what is included in the patch:

- A checkbox is added for each node to be moderated, in the Moderated content page (see picture number 1);
- When the checkbox is not checked, then a javascript function is responsible for greying out the "note to author" section (see picture number 2);
- A css file is also included which contains some statements needed for the greyed out part;
- In the module settings page, the 3 checkboxes responsible for deciding if notifications are sent for "approve / deny / noact" have been removed. They have been replaced by a single checkbox. This new checkbox decides what will be the default value for all the "send email" checkboxes found in the Moderated content page.

Let me know if you have questions or comments.

Thanks,

jf

AttachmentSize
modr8-6.x-1.1-adding-email-checkbox.patch6.72 KB
moderation-checkbox-picture-1.png24.16 KB
moderation-checkbox-picture-2.png24.3 KB

#1

Jason Ruyle - March 9, 2009 - 22:09

I applied the patch and it works great. I recommend this feature.

#2

Summit - November 12, 2009 - 13:23

Hi,
Will this be committed please? Seems a nice add on functionality?

greetings,
Martijn

 
 

Drupal is a registered trademark of Dries Buytaert.