Drupal 6: migration from NodeHierarchy to Taxonomy

4. 11. 2012 12:10 (aktualizováno) Tomáš Bedřich

If someone would have to do this job, you can use this code written by me. Just update name of module, computer name of node type ‚page‘ and vocabulary ID (do NOT forget!) and run this code. It should generate hierarchical taxonomy in vocabulary $vid and match nodes to its parents, like in nodehierarchy. It wants a bit of tweaking, not simply copy&paste.

http://pastebin.com/G7KsH4LY

Please, don't swear me. I'm not liable for any damages.

Sdílet