I want to setup two categories of vocabulary terms. One is a fixed set of terms like Technology, Business, and Sports where a user submitting a story must select at least one. The second set is a free-tagging vocabulary which the user can choose his/her own. How do I establish a relationship between these two or in other words how do I setup the hierachy?

So stories submitted may have this hierachy. Level 1 is defined by my vocabulary set. Level 2 are tags (terms) chosen by the authors:

Technology -- web 2.0
Business -- Forbes, web 2.0
Sports -- NBA Finals

Comments

Jaza’s picture

The taxonomy module doesn't support a term in one vocabulary being the parent of another term in a different vocabulary. Hierarchy is limited to being within a single vocabulary.

Try using the category module. This module combines the features of book and taxonomy, and adds even more. With the category module, you can have distant parents - that is, a category (i.e. term) that is the parent of another category in a different container (i.e. vocabulary). What's more, if you install the activeselect module along with category, then the select boxes for two containers with distant-parent categories will be linked by AJAX: i.e. if you select a new category in one select box, the other one will update to show only the distant children of that category.

The category module also supports free tagging, but as with the taxonomy module, there is no way to define the parents of free-tagging categories at node creation time. However, you can define distant parents for the free tagging categories that your users define, after they've been created (by going in and editing a category), just as you can go back and define non-distant parents for free tagging terms with the taxonomy module.

Jeremy Epstein - GreenAsh

Jeremy Epstein - GreenAsh

madhatter’s picture

there is no way to define the parents of free-tagging categories at node creation time

I was hoping there was :) Once there are a lot of free-tagging terms, it will be a lot of work to go in an d establish the parent-child relationships.

Vincent