Add a "moderate" toggle for use with the node.moderate field

EvanDonovan - July 2, 2009 - 23:06
Project:Fasttoggle
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

On our site, we use the Modr8 module for content moderation. However, it would be great if we could use Fasttoggle as well for moderating specific nodes.

Attached is a patch that makes that possible. I don't think it's necessary to add any conditionals to it, since the node.moderate field is in the database; it just doesn't have an administrative interface in core. I have set the moderate toggle to be disabled by default, however.

Thanks for making it so easy to add new toggles to this module.

AttachmentSize
fasttoggle_modr8.patch4.17 KB

#1

binford2k - July 14, 2009 - 06:55

You should probably try to avoid such deep diff paths ....

#2

EvanDonovan - August 7, 2009 - 20:09

Sorry, it was more convenient for me this way - since I was comparing between my live and development sites. If there is any interest in this idea, I can re-roll the patch so that it will apply for other people.

#3

binford2k - August 8, 2009 - 06:43

it applies just fine, you just have to give it -p5 or so. I don't remember how deep, it was a while ago.

 
 

Drupal is a registered trademark of Dries Buytaert.