Drupal 7 Taxonomy Changes

tutuploadsmedia_1303489799382.png

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
{loadposition drupalnewsletter}

Author

  • Steve Burge

    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.

    View all posts
0 0 votes
Article Rating
Subscribe
Notify of
guest

27 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Amberly
Amberly
13 years ago

Thank you SO MUCH for the step by step. I’m very new to Drupal and it is scary to just start clicking around. This info is just what I needed.

Nick Savov
13 years ago
Reply to  Amberly

You’re very welcome! Look forward to our online Drupal class coming soon 🙂

drupaljohngo
drupaljohngo
13 years ago

Cool. Understandable now.So, if I had audio files for a vocabulary, and mp3/wav/aiff as terms I could create an content type for uploading audios files and assign them their vocabulary fileds and terms. What is next? create a View and call it up to list all mp3’s?

Sameer
Sameer
13 years ago
Reply to  drupaljohngo

Thanks, its very nice article,

i am new to drupal and want to make a test website in which i have different categories of pages, videos and images.

can you please more elaborate this article that how we can use this Terms into menu’s

kumar
kumar
13 years ago

Its worked

Thankyou so much!

Digitzfone
Digitzfone
13 years ago

FINALLY I understand it! Thank you!

janko
janko
13 years ago

thank you so much, i wanted tutorial just like this one!!!!

Kuslahne
Kuslahne
13 years ago

Awesome tutorial, very helpful to understand the workings of taxonomy in drupal 7. Thanks.

Nick Savov
13 years ago
Reply to  Kuslahne

You’re very welcome, Kushlahne! 🙂

Kind regards,

Nick

heui
heui
13 years ago

Thank you!

Nick Savov
13 years ago
Reply to  heui

You’re welcome, Heui! We just launched our Drupal Beginner’s and Intermediate classes which you might be interested in as well:

[url=http://www.ostraining.com/online]http://www.ostraining.com/o…[/url]

Kind regards,

Nick

Theo
Theo
13 years ago

Thanks!

You would of thought this would be some where in the Druple doc’s but I couldn’t find it any where.

Thanks again!

Nick Savov
13 years ago
Reply to  Theo

You’re very welcome, Theo!

We have a lot more inside available to our Student Members 🙂

[url=http://www.ostraining.com/online]http://www.ostraining.com/o…[/url]

Kind regards,

Nick

tep
tep
13 years ago

Taxonomy, I see that drupal 7 has diff version, and that makes it a bit diff for new user like me, this was very help full i must say,

Nick Savov
13 years ago
Reply to  tep

Cheers, Tep! We’re glad to be of help! 🙂

Kind regards,

Nick

hasansimsek
hasansimsek
13 years ago

i have been seeking it for three days. thanx a lot 🙂

Nick Savov
13 years ago
Reply to  hasansimsek

You’re very welcome! There’s a lot more inside available to members, see [url=http://www.ostraining.com/online]www.ostraining.com/online[/url] for more information.

Plus we recently launched our new Drupal intermediate class 🙂

Kind regards,

Nick

Lalit
Lalit
12 years ago

Thank you very much.

Pan
Pan
12 years ago

Hey there,

Is there an easy way to filter content by taxonomy Term in Administration “Find Content” section, just like the default functionality in Drupal 6?

RjAy
RjAy
12 years ago

thank you very much…

RAHUL TIWARI
RAHUL TIWARI
12 years ago

Great tutorial sir…..thank u very much sir

Alvaro
Alvaro
12 years ago

Thank you very much! You have saved me a lot of time!!

Ravi Dalal
Ravi Dalal
12 years ago

Thanks a lot……

That really helped me a lot…

Thnx again

Atta
Atta
11 years ago

Great Thanks.

Kavi
Kavi
9 years ago

Hi, Nick …..Thank you very much for giving us these steps its really helpful, I have set this blog in my content page but if i want whole category in my page…. means multiple blogs list of each category,for display … is there any step that i can change and get solution. Thanks

Donna
Donna
6 years ago

this is a great step by step… how do you make the categories show on the blog page????

27
0
Would love your thoughts, please comment.x
()
x