Move several terms at once

tuti - October 27, 2007 - 18:21
Project:Taxonomy Switch
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

It would be nice if instead of a select box of terms to move to another vocabulary you'd have checkboxes so that you can move several of them at once.

I'm doing a re-structuring of my site and have 100+ terms to move to other vocabs so I would find it extremely useful.. =)

#1

doc2@drupalfr.org - April 2, 2008 - 16:15

That's right!

#2

L0rne - September 8, 2008 - 18:56

I needed to move a large number of terms, too. I am attaching a patch containing the modifications that worked for me.

Basically I just turned the term select into a multi-select, and modified taxonomy_switch_execute to take an array of terms rather than a single term, and loop through the array.

I hope this helps.

- L0rne

AttachmentSize
taxonomy_switch_multi.patch 6.67 KB

#3

momper - November 27, 2008 - 07:43

subscribe

#4

rkdesantos - November 29, 2008 - 18:49

Patch is much appreciated and appears to work just fine on my site. I hope it is incorporated into the module permanently.

#5

rkdesantos - March 7, 2009 - 16:02

This should also be in v6 of the module, if that is ever officially released.

 
 

Drupal is a registered trademark of Dries Buytaert.