| Drupal

Drupal 7 introduced many new changes. One of these involves Taxonomy, Drupal's way of organizing content.

Let's see what's changed with Taxonomy and what you'll need to do differently in Drupal 7:

Taxonomy in Drupal 6

tutuploadsmedia_1303489799382.png

In Drupal 6, Taxonomy was under the Content management link.

To organize your content you went through a three step process. First, you added a Vocabulary which acts as a general container for all your specific categories.

tutuploadsmedia_1303489875572.png

Then you added the Terms which are the specific categories you'll use to organize content:

tutuploadsmedia_1303490023219.png

Then you'd go and write your content, organizing it with the Terms:

tutuploadsmedia_1303490104000.png

So the whole process of organzing your content in Drupal 6 involved three steps:

  1. Content management > Vocabulary > Add vocabulary
  2. Add terms
  3. Create content

Now let's see the process of organizing your content in Drupal 7:

Taxomony in Drupal 7

The first thing you'll notice that is the main navigation links have changed. Taxonomy is now under the Structure link.

tutuploadsmedia_1303490475830.png

The setup process is similar to Drupal 6 at this point. We need to add a Vocabulary and then Terms. First, click Add vocabulary:

tutuploadsmedia_1303490553112.png

Enter the name of the vocabulary and click Save. You'll notice that there are far fewer settings here than in Drupal 6. In Drupal 7 those settings come later.

tutuploadsmedia_1303490626661.png

Click add terms next to your new vocabulary. When you're finished, click the List tab at the top of the screen.

tutuploadsmedia_1303490893339.png

You'll now see the terms laid out as below:

tutuploadsmedia_1303490961416.png

Now, here's the big change with Taxonomy in Drupal 7. Instead of going to write your content, click on the Structure link again and then Content types:

tutuploadsmedia_1303491109173.png

Click on manage fields next to the content type you'd like to add a taxonomy to:

tutuploadsmedia_1303491181304.png

The important thing now is to add a new field using the Term reference field type:

tutuploadsmedia_1303491241267.png

Click Save and you'll be asked to choose the vocabulary you want to add:

tutuploadsmedia_1303491463919.png

Click Save field settings and you'll have one more screen to complete. This is where all the settings have moved to that we mentiond earlier.

tutuploadsmedia_1303491531992.png

Scroll down, click Save Settings and you're finished. Your new vocabulary has now been added to the content type. It's definitely a longer process than in Drupal 6.

In Drupal 6, Taxonomy was it's own system but in Drupal 7 Taxonomy has now become part of the new Drupal 7 Fields system.

However, the final step is the same in both versions: go and write your content. Click on Add content and you'll see your new Vocabulary and Terms:

tutuploadsmedia_1303491673335.png

About the author

Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.