Last updated January 12, 2013. Created by cel4145 on May 23, 2005.
Edited by LeeHunter, Cathleen Tracy, drupalshrek, rwilson0429. Log in to edit this page.

When setting up a vocabulary, Drupal will prompt for:

  • Vocabulary name (Required) -- A name for this vocabulary; for example, Topics.
  • Description (Optional) -- A description of the vocabulary (this item may be used by some modules and feeds).
  • Types (Required) -- A vocabulary may be associated with one or more node types. So, an administrator might declare that a particular vocabulary is to be associated with stories and blogs, but not book pages. If an expected node type is unavailable, check and make sure that the module for the specific node type has been activated.
  • Hierarchy (Optional) -- Allows a tree-like taxonomy (In Drupal 5, hierarchies are set as an option. In Drupal 6 and later, all vocabularies are hierarchical if that's how you arrange the items.).
  • Related terms (Optional) -- Allows relationships between terms within this vocabulary. Think of these as "see also" references (this item is not used by many Drupal modules).
  • Freetagging (Optional) -- Users create terms as they go by typing comma-separated lists of the terms they want to apply to content instead of selecting from a pre-existing list of terms. Freetagging vocabularies will present users with a text input that will autocomplete with matching terms if they exist.
  • Multiple select (Optional) -- Allows users to categorize nodes by more than one term. Useful for cross-indexing content. Nodes may then appear on multiple taxonomy pages.
  • Required (Optional) -- Requires a user to select a term in this vocabularly in order to submit the node. Otherwise, when creating a node, users will be offered a none option as the default for each vocabulary.
  • Weight (Optional) -- Allows the administrator to set the priority of this vocabularly when listed with other vocabularies. When vocabularies are left with the default weight of zero, Drupal displays multiple vocabularies in alphabetical order. Increasing a vocabularies weight with respect to other vocabularies will cause it to appear after them in lists. Conversely, lighter vocabularies will float nearer the top of lists. Useful for specifying which vocabulary a user sees first when creating a node.

Creating Vocabularies in Drupal 7

In D7, Vocabularies are used to group, organize and, in many cases, categorize a set of taxonomy terms. Vocabularies are fieldable entities and are given a name and vocabulary id (vid) making it referenceable by other Drupal components. So, vocabularies can be thought of as parent or root containers for taxonomy terms. Creating a vocabulary can be as simple as assigning the container a name.

Create a Vocabulary:

  1. go to admin/structure/taxonomy
  2. click Add Vocabulary
  3. Give your new vocabulary a name (required)
  4. Optionally, give your new vocabulary a description (optional but good to do)
  5. Click Save

That's it, your vocabulary is created and waiting for you to add some terms to it. Other contributed modules like the Taxonomy Menu module may add additional configurable settings to the admin/structure/taxonomy/add page.

Note that D7 comes with a empty 'Tags' vocabulary already setup for you. The 'Tags' vocabulary is a 'free-tagging' vocabulary that will hold user created terms that are added to the Tags vocabulary when content is created or edited. This is generally accomplished by using a term reference field with an auto-complete widget on the content creation page.

As mentioned earlier, vocabularies are fieldable entities in D7, therefore, you can, optionally, add fields (e.g., an image field, etc.) to your vocabulary at admin/structure/taxonomy/[your-vocabulary-name]/fields.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

Drupal 6.x has a "Help Text" field, but it has no "Hierarchy" and "Related terms" fields.

Again, the same goddam lack of context I denounced on another doc page:
'When setting up a vocabulary, Drupal will prompt for:'
What does that mean ? WHERE or HOW do we get to that page you're talking about ?
A.R.

In my new Drupal 7 installation, I only see Vocabulary name and Description, but not the other options under Structure > Taxonomy > Add Vocabulary.

How do I change these fields?

same issue here

I have the exact same problem.
I've installed Drupal 7.8.

The first post on this subject was in January 23, 2011.
Today, 9 months later, the problem is the same
- and none of the questions here has been answered.

And when it comes to terms there is a similar situation: “Related terms” and “Synonyms” doesn’t exist. But there is a field for “URL alias” and “Text format”. And “Parents” resides under “Relations”.

I'm totally new to Drupal and it gets really confusing when entering this contradictory introduction to the scene of Drupal and not finding any answers, when, as all other posting here, I really want to get to the bottom with this.

There are no help in the Documentation.
I've spend hours looking for answers on how to get this working whiteout finding anything useful (at Drupal Schools there are a lot of interesting tutorials on a lot of things, but I have not found any that deals whit this subject for D7 – they are all D6 or older).

Why is this problem neglected when getting the taxonomies working is the first vital step when getting to know and creating a Drupal website?
When looking at all the good things about Drupal, all tutorials, guides, and work done all over the planet, I'm surprised that the Drupal community in this matter to this point have not worked better.

Maybe it's time for a change now?
Is there anybody interested in giving some assistance to solve this matter?

EDIT, 2011-10-28.

One good thing though is the Learn Drupal 7 with nodeone, about taxonomy, vocabularies and terms-tutorial. Even if it doesn't explain the issue with the missing fields in this discussion it gives a great first help in actually understanding and using the Drupal taxonomy concept, in the way it actually displays.

Kind Regards
ICIT
Windows 7, x64
WAMP System:
Apache Ver: 2.2.17
PHP Ver: 5.3.4
MySQL Ver: 5.1.53

Even now year 2013 the problem is still exists and i was scratching my head to solve this problem....

I agree, the documentation can be SO frustrating sometimes. When I set up a vocabulary in D7 I too only see options to input Name and Description. All of these other options:

Types (Required) -- A vocabulary may be associated with one or more node types. So, an administrator might declare that a particular vocabulary is to be associated with stories and blogs, but not book pages. If an expected node type is unavailable, check and make sure that the module for the specific node type has been activated.
Hierarchy (Optional) -- Allows a tree-like taxonomy (In Drupal 5, hierarchies are set as an option. In Drupal 6 and later, all vocabularies are hierarchical if that's how you arrange the items.).
Related terms (Optional) -- Allows relationships between terms within this vocabulary. Think of these as "see also" references (this item is not used by many Drupal modules).
Freetagging (Optional) -- Users create terms as they go by typing comma-separated lists of the terms they want to apply to content instead of selecting from a pre-existing list of terms. Freetagging vocabularies will present users with a text input that will autocomplete with matching terms if they exist.
Multiple select (Optional) -- Allows users to categorize nodes by more than one term. Useful for cross-indexing content. Nodes may then appear on multiple taxonomy pages.
Required (Optional) -- Requires a user to select a term in this vocabularly in order to submit the node. Otherwise, when creating a node, users will be offered a none option as the default for each vocabulary.
Weight (Optional) -- Allows the administrator to set the priority of this vocabularly when listed with other vocabularies. When vocabularies are left with the default weight of zero, Drupal displays multiple vocabularies in alphabetical order. Increasing a vocabularies weight with respect to other vocabularies will cause it to appear after them in lists. Conversely, lighter vocabularies will float nearer the top of lists. Useful for specifying which vocabulary a user sees first when creating a node.

Don't exist!! Not even the Types field which according to this documentation is a REQUIRED field.

I do understand that I can click on the "Manage Fields" tab and I can add whatever fields I want, but this document makes it seem like those fields will already exist and they don't.

I am running Drupal 7.0 and am only able to input:

* Name,
* Description,
* URL alias,
* Parent terms, and
* Weight

How do I use / change the other options mentioned in this article, such as Types, Freetagging, Multiple Select, and Required?

I am using taxonomy to handle different products
http://www.sunwardhobbies.ca/

If I add a new set of terms, the ones lower down from the new one will now all have a weight of 127 and will arrange alphabetically. I need to reset the weights so the bottom term (Brand) is 127 and the rest lower.

Very annoying. Any way to stop this?