Community Documentation

Set up categories

Last updated September 19, 2007. Created by sepeck on September 19, 2007.
Log in to edit this page.

In this example you will learn how to set up a basic category and assign it to a specific content type.

The taxonomy module is one of the most popular features because users often want to create categories to organize content by type. A simple example would be organizing a list of music reviews by musical genre. Taxonomy what? In the menu UI it was renamed to Categories.

  1. Navigate to Administer > Content management > Categories
  2. Select the Add vocabulary tab
  3. In Vocabulary name enter a name (Sample) and a description (This is a sample category)
  4. Scroll down and in Types select Story
  5. Under Hierarchy select disabled
  6. For this example we will also select Required.
  7. Select Submit and you will be taken back to the Categories page.
  8. Select add term
  9. In the List terms page fill out the values and select submit

    Term name: Term 1

    Description: Term 1 description

  10. Create 3 to 4 different terms
  11. Navigate to Create content > Story
  12. Between the Title and the Body of the story you will have the categories. The red asterix indicates mandatory.

Now that you have covered the basics, play around with categories to see how they suit your site.

Comments

Step 1 location in Drupal 6.x

In Drupal 6.x, step 1 is "Taxonomy" again, not "Categories". There also doesn't appear to be a "Hierarchy" section in build 6.x.

nobody click here