Add support for fast-toggling moderation queue status
bkudria - April 16, 2007 - 05:28
| Project: | modr8 |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
In 5.x (with the modr8 module) there is a moderation queue. It would be helpful if Fasttoggle supported toggling whether the node is in the moderation queue or not.

#1
#2
Does fasttoggle have an API for adding in new functions like this?
I'm tempted to close this as "by design" since an important point (to me) of the 5.x version of Modr8 is to get moderators to use the queue to move posts out of moderation so as to have tracking of moderation actions.
#3
fasttoggle does now have a hook for other modules ... you make a good point maybe the toggle is only useful for putting items into the queue for others to review and decide.
#4
Ok, I see from the code this:
hook_fasttoggle_optionsHowever, it's not clear to me how to implement this so that posts can be put into the queue only?
<?php
function modr8_fasttoggle_options ($type = 'node') {
$options = array();
if ($type == 'node') {
$admin = user_access('administer nodes');
if ($admin || user_access('moderate content') {
$options['moderate'] = array(0 => t('approved'), 1 => t('in moderation'));
}
}
return $options;
}
?>
#5
Wouldn't just another hook invoked in fasttoggle_node_option() do the trick and let us track the moderation actions?
#6
Subscribing, greetings, Martijn
#7
#8
Did anyone end up adding the ability to fasttoggle moderation to this module? It saves oodles of time for those with lots of content coming into moderation.
#9
Any implementation would need to use a Drupal-built form, not a link.