what mood are you in?:
try another fontsize: 60% 70% 80% 90%

vocabulary

Adding vocabulary terms

Adding vocabulary term is easy.

Go to Administration>Content Management>Categories>List

Go down the vocabulary list and click the 'add terms' link.

Parents

This is only visible if your vocabulary has a single or multiple hierarchy.

You can select one or more parents for your term. If you want the term to be on the same level as all the other terms choose 'root'.

Term name

Give the term a title

Description

If you want to, give the term a description.

Synonym

This can be left blank

Notes

Always make sensible names for your terms as the term names and the parent child relatioships often show in other places around your site such as crumbtrails.

Creating a vocabulary

Make sure you are logged in as an administrator.

Go to Administer>Content Management>Categories>Add vocabulary.

Title

Give you vocabulary a title.

Description

Give your vocabulary a description.

Help text

Give your vocabulary some help text when adding terms to it.

Types

Check any content types you wish to use with this vocabulary. This can be a useful way of restricting what users can do with the site.

Hierarchy

Disabled

When you add terms there are no parent-child relationships.

Example:

  • Red
  • Green
  • Blue
  • Orange
  • Yellow

Single

When you add terms there is a single level of parent-child relationship.

Example

Linking a menu item to a category

Linking to a category

Suppose you have categorised a load of stories and you want to link to them and display them as a listing?

All you do is go to Administer>Content Management>Categories>List

This
lists the Vocabularies. Click the 'list terms' link on the vocabulary
you are using. This shows all the terms in the vocabulary. Hover your
mouse over the term you wish to use and the link shos up in the Status
Bar of your browser. (The Status Bar is usually right at the bottom of
your browser window.)

The link follows the pattern http://ww.mysite.com/taxonomy/term/3

Paste in the taxonomy/term/3 part of the path and this will ceate your listing.

Linking to more than one category

Imagine you have two different categories and you want a single menu item that will list them both.

All you need to do is go to the list of term and pick up the taxonomy term IDs.

Vocabularies

Vocabularies help us to organise our category terms.

Vocabularies are a collections of words - or Terms as they are called in Drupal - that we use to organise content of a similar type.

Categories are synonymous with Terms. In other words if I create the term 'Red' then Red is a category I can put content into. You will get used to this when you start creating your taxonomic system.

Example of a vocabulary use

We might create the following terms to categorise car engine size

  • less than 1000cc
  • 1000-1200cc
  • 1200-1800
  • more than 1800

 

We can collect these terms into a vocabulary called Cars along with many other terms we associate with cars.

We can create another vocabulary called Books and put the following terms into it

Syndicate content