Taxonomy is a great thing. However I found out that it is rather static implemented in drupal. I started with a main list and taxonomy terms under each topics but after some time I found out I would like to reschedule the terms under another topics. So what I want is

  • Dairy
    • Milk
  • Drink
    • Alchohol
      • Beer
      • Wine

now I found out that I would like to have a complete topic about wine, since I want to use that for another type of service (forum, gallery, etc) and to expand it further to wine from 1991, 1992, etc.. or I want to move milk

I quess the only way to migrate the content with taxonomy associated to is, is by diving into the database and use some magic sql statements?

It would be nice if drupal had an interface where I can select terms and topics on the left and move them to a new term/topics on the right

I hope this makes sense, otherwise, feel free to ask what I want.

Comments

Anonymous’s picture

a good fis step for this would be to make one or two html or image mockups which demonstrate the user interface . i would think tha the adin -> content page would be a good starting point.

jonbob’s picture

You can freely change the parent of any term with the existing interface.

Anonymous’s picture

Anonymous’s picture

You can only change the parent of a term from within a vocabulary.

You cannont move a term from one vocabulary to another.

dkruglyak’s picture

This feature is needed

venkat-rk’s picture

Absolutely. Even two versions of drupal after this issue was introduced, the taxonomy module remains pretty static. I can't imagine the number of times I have moved terms around within a vocab and across vocabs and it is a nightmare, especially when you have lots of terms.

Taxonomy is a difficult concept to grasp, so having the ability to move terms around dynamically would be a great usability feature.

bertboerland’s picture

keeping this one open, seems still a good feature for core!

jo1ene’s picture

Title: moving taxonomy terms » moving terms to a different taxonomy

+1 for this feature

I manage a ever growing website and I regularly find the need to reorganize, combine, split, etc. taxonomies and terms - to accomodate a new module, for example. I don't think this feature needs an interface. There is already a selection for parent in the edit term form. This selection could be made to include other taxonomies in the same way that the book module's parent selection includes other books or motf's selection includes all menus (excepting the one's you exclude, of course).

On the other hand, such a comprehensive selection tool would likely become unwieldy with large vocabularies. But it would be worth it to me. Could this be accomplished at the module level - allowing those that have a pressing need to have it available, while not cluttering the parent selection for other folks?

gerhard killesreiter’s picture

if the taxonomy forms have been properly apified (this needs checking) then it might be possible to move a term elsewwhere by adding an form to the "edit" field. this coul dbe done in a contrib module.

brevity’s picture

Version: » 4.7.3

+1

vocabularies grow over time, so splitting would come in handy ...

first thought one only needs to change the parent of the root of the sub-tree to move (in term_hierarchy), but all terms in the sub-tree have vids specified in term_data that need to be changed, too.

killes@www.drop.org’s picture

Version: 4.7.3 » x.y.z

new features go into devel version.

coreb’s picture

Version: x.y.z » 6.x-dev

(Moving x.y.z version to a real version number) Feature Request => 6.x-dev

venkat-rk’s picture

Pl. ignore if I have misunderstood this issue
----
In case this helps anyone, there is/used-to-be a contrib module called taxonomy_switch that let you move terms from one vocab to another. It worked pretty smoothly when one term was moved to another vocab but when I tried moving a number of terms, they disappeared from the vocab and I couldn't find them on the admin page (although I suspect they were still in the taxonomy table) to move them back.

The category module has a bulk_edit contrib module that does this. It is occasionally buggy but works and might be a useful place to look for ideas if anyone is interested.

bertboerland’s picture

Status: Active » Fixed

ramdak, you are right, this issue can be closed, see http://drupal.org/project/taxonomy_switch

venkat-rk’s picture

Thanks, bert.

Anonymous’s picture

Status: Fixed » Closed (fixed)
ionuts71’s picture

Version: 6.x-dev » 6.9
Status: Closed (fixed) » Active

There is any solution for Drupal 6? Taxonomy switch module works only for Drupal 4.7 and is only a dev release for 5.x.

mikeker’s picture

Any movement on this one? As ionuts points out, the workaround module hasn't had any updates since Nov 2007. Seem to me this should be part of the core Taxonomy module...

Thanks.

mokko’s picture

module taxonomy manager can do something similar, but not this.

johnflower’s picture

+1

This feature would save me time.

iernst’s picture

+1

This feature is really needed.

webwriter’s picture

Subscribing. To a 6 year old thread... wow.

mcurry’s picture

Subscribing

mcurry’s picture

Does anyone know how one would use the Drupal core APIs to perform the desired operations (in 5.x, 6.x, and 7.x), or would this need to be done using raw SQL queries (I'd like to avoid performing raw SQL queries if possible.)

I'm asking this question because I'm hoping the core API has the functionality we need; this kind of plumbing should not be left to module developers.

Ideally, there'd be a core API taxonomy_move_term(...) that would manage the low-level details and shield module developers from the complexity of the database structures, and help prevent damage to the database by contributed module bugs.

heather’s picture

@grateful_drupal_user - i recommend you join the #drupal channel on IRC and ask this question. good luck in your quest!

konstak’s picture

It`s still needed...

u210ks’s picture

tim.plunkett’s picture

Status: Active » Closed (won't fix)

This is won't fix for D6 or D7, if you'd like to see taxonomy_manager added to core, open a feature request against D8.

drupalnesia’s picture

Version: 6.9 » 11.0.x-dev
Issue summary: View changes

Just experience this issue, first I move it by SQL manually but since my client need to move very much terms so I create this module:
- https://www.drupal.org/project/term_manager

Current features:

  1. Move term to another Vocab
  2. Merge term

I see another module support Merge Term, but its create new Term even the Target Term same as one of Source Term. This module try to use existing term, not create new term.

gábor hojtsy’s picture

Title: moving terms to a different taxonomy » [11.x] moving terms to a different taxonomy
Version: 11.0.x-dev » 11.x-dev
Issue tags: +Major version only

Updating title, tags and version number based on recent announcement at https://www.drupal.org/about/core/blog/new-drupal-core-branching-scheme-...

dqd’s picture

Title: [11.x] moving terms to a different taxonomy » [11.x] moving existing terms to a different taxonomy while keeping existing usage
Status: Closed (won't fix) » Active

Would like to ask around if there is still enough interest to keep this open as future FR for core. So I opened it temporary just in case. If not feel free to close it again.

Fixed title regarding the comments and the actually wish behind this and to make the intention clear regarding "moving vs replacing".

claudia sotto’s picture

This is still a problem in Drupal 10. There was this module "Taxonomy manager", that was solving this problem in Drupal 7, but the version for Drupal 8 and ahead don't have this feature anymore.

dqd’s picture

...but the version for Drupal 8 and ahead don't have this feature anymore.

from #32, what makes

if you'd like to see taxonomy_manager added to core, open a feature request against D8.

from #28 obsolete as solution.

So we need to find a new approach. I think moving terms is an interesting feature for bigger existing projects and there seem to be no way ou tyet for this.

quietone’s picture

Title: [11.x] moving existing terms to a different taxonomy while keeping existing usage » moving existing terms to a different taxonomy while keeping existing usage
Issue tags: -Major version only

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement..

catch’s picture

Status: Active » Postponed (maintainer needs more info)

Vocabularies are bundles now, which makes this even more complicated than it used to be because there are also fields to worry about.

https://www.drupal.org/project/convert_bundles in contrib might be an option.

Because of the bundles/fields issue, I can't see us ever doing this in core, moving to 'needs more info' but I think it should probably be closed as 'by design'.