Last updated March 31, 2010. Created by s_oneill on December 16, 2008.
Edited by dooug, udioron. Log in to edit this page.
Like me, you might have bumped into the need for moving a lot of existing documents from a taxonomy structure into an OG structure.
Copy the following php code into a regular node (as admin) and it should allow you to choose which taxonomy term you want 'transferred' and which OG to 'transfer' it to.
The Taxonomy structure is not altered.
I'm NOT a skilled php or drupal developer - so look out! And all you Gurus out there: feel free to add and improve, but dont mock my spaghetti...
Comments
wheare are "code" ?
wheare are "code" ?
reasonable question....
dunno ... it was in here earlier ... I think ... I'll copy/paste asap - tomorrow ...
I'd be interested in seeing
I'd be interested in seeing this code :)
I'd like a look too!
It would help me to migrate from TAC to OG (if I decide that is the right thing to do!)
Knock Knock Where white
Knock Knock
Where white rabbit?
..
code example would be useful
This can be accomplished pretty easily using VBO
Just set up a view that contains taxonomy terms and group names. Having separate columns for each vocabulary helps...