Trigger Advanced Actions to Notify by Mail on Moderation

Submitted by Georg on Tue, 03/22/2011 - 04:28
PDF version

Your fancy Drupal site is growing more and more populous with user, and anonymous, submitted articles. It's time you manage the moderation queue in a streamlined manner. Because your time is precious, why not setup an automated notify system, in Drupal, that will trigger an email to the given address whenever a visitor will submit a new article to the pending queue for moderation.

Here the simple steps:

1. Make sure you have the Actions and Triggers modules installed and enabled. Oh yes, and the Token module as well. Check dependencies, etc.

2. Make a new advanced action available to send tokenized e-mail. Configure it with proper placeholder tokens, like, for instance:

"[site-name]: new article waiting for moderation" --this in the email subject line;

then in the message body:

"a new article posted on [site-name] under [catpath]:

[title]

[formatted]

[node-path]

whatever blah..."

Give a particular and meaningful name to your newly created advanced action, so you can recognize it easily.

3. Once configured and saved, the new advanced action must be assigned to a system event, by the way of triggers. Like Drupal writes: "You may proceed to the Triggers page to assign these actions to system events."

On the Triggers page, go directly to this Trigger: After saving a new post (because we're not talking here about an already published post, but about a just saved post, a pending one).

Select the advanced action created at point 2. above and assign it. Done!

Smart Chicks Dig Geeky Guys - Shop @Geeks.com!

Powered by Drupal, an open source content management system

© 2006 - 2012 by Moonkah, a Blue Safari Marketing business, based in Huntsville, Alabama.

Moonkah by Blue Safari Marketing - Huntsville, AL, Redstone Arsenal larger area. Office: 11590 Hwy 231-431 N, Meridianville, Alabama, 35750, USA //. Drupal theme by Kiwi Themes.
toolbar powered by www.iconcy.com