Recently the Category module has been causing OpenConcept significant difficulty - see Ron's post here.
We are transitioning this site from using the Category module to using the core Taxonomy module to categorize our content. We're using Views to build pages of content, something that was done by the Category module previously.
The first step in this transition is making sure that node-category relationships are mirrored by node-term relationships. This is a pretty straightforward database manipulation. Here's a script for doing that operation.
WARNING: back up your database before performing this operation. You can do a lot of damage with a silly input error.
NOTE: the category id and the term id will often be the same - category is designed to work this way. The $category_id is the cid of the term you wish to import from - the $taxonomy_term is the tid of the term you wish to export to.
- Nomenclature
- Taxonomy
- Human Interest



Add new comment