A client requested the ability to change taxonomy terms during the moderation process. I've added that in the attached patch. This patch should work in situations without taxonomy.module is not enabled. It should work for structured taxonomies - free tags may be another story.

Enjoy!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

FileSize
1.73 KB

Thanks Mark, we use this on many of our sites for re-categorizing photos that have been uploaded into the wrong gallery (a taxonomy vocabulary). Here's a reroll to the latest 5.x and a few spacing fixes. I'm interested in getting this added as part of modr8 directly, but I think we'll need a configuration form to adjust what vocabularies should be shown, or just be able to enable/disable the feature site-wide rather than having it always there if taxonomies are available.

sirkitree’s picture

+1

quicksketch’s picture

Title: Moderate taxonomy terms during moderation phase » Update taxonomy terms and CCK fields during moderation phase
Version: 5.x-2.0 » 5.x-2.3
FileSize
6.46 KB
59.79 KB
57.74 KB

I don't normally expand an issue into two like this, but the changes are so close to each other the submitted patches would cause conflicts with each other. This takes the taxonomy patch by mfredrickson and adds configuration so you can enable it for only specific vocabularies rather than using all of them. I tested this with free-tagging and normal vocabularies and it works both ways.

The big expansion is that this patch now also supports CCK fields. After configuring which CCK fields you'd like to add to the moderation form, you can modify any CCK value during moderation. The use-case I experienced for this was using node reference fields. Sometime the end-user will node reference content to an incorrect parent, though the item should be approved.

I tested the CCK fields with: Node reference, text, number, fivestar, link, address, date, and even image. All of them work fine as long as you don't use Ajaxy-like buttons provided by imagefield and link modules.

sirkitree’s picture

sweet, very nice patch. this is highly useful.

pwolanin’s picture

Hmm, interesting - it would be nice if modr8 could be restructured to support these sorts of added operations without weighing down the core module. Any thoughts?

giorgio79’s picture

Great stuff! Is this forgotten? :)

pwolanin’s picture

Yeah, fell off the radar - care to test and maybe roll a patch for 6x. too?

digi24’s picture

It would be really great to see a patch for Drupal 6. I tried to port #3, but I am having trouble to get the subforms to be displayed. (I am aware that the form_alter commands changed between D5 and D6)

Andrew Gorokhovets’s picture

+1