Books on Drupal

There are a few books on Drupal and they range from everything for the beginner to everything for the advanced. I have a page devoted to Drupal books that are available for purchase along with a review on each of them.

New to Drupal?

Are you new to Drupal? What is Drupal and why do you want to use this? In this video I build a Drupal website in 10 minutes. See why Drupal rocks!

Taxonomy or Categories in Drupal


Taxonomy in Drupal was confusing to me at first. All I wanted was a simple category system for my website. What is this Taxonomy stuff? In it's most simplistic form taxonomies are categories.

I'll quote Wikipedia:

Taxonomies, or taxonomic schemes, are composed of taxonomic units known as taxa (singular taxon), or kinds of things that are arranged frequently in a hierarchical structure, typically related by subtype-supertype relationships, also called parent-child relationships. In such a subtype-supertype relationship the subtype kind of thing has by definition the same constraints as the supertype kind of thing plus one or more additional constraints. For example, car is a subtype of vehicle. So any car is also a vehicle, but not every vehicle is a car. So, a thing needs to satisfy more constraints to be a car than to be a vehicle.

How about Drupal's explanation:

The taxonomy module allows you to classify content into categories and subcategories; it allows multiple lists of categories for classification (controlled vocabularies) and offers the possibility of creating thesauri (controlled vocabularies that indicate the relationship of terms), taxonomies (controlled vocabularies where relationships are indicated hierarchically), and free vocabularies where terms, or tags, are defined during content creation. To view and manage the terms of each vocabulary, click on the associated list terms link. To delete a vocabulary and all its terms, choose "edit vocabulary".

How's that for confusing. Let's say hypothetically I am building a website on cars. All I want is a category for car brands, such as Ford, Toyota, and Chevrolet. As I add an article on a car, I wand to categorize it under a brand. This is a simple category. Can Drupal do it with this Taxonomy stuff? Absolutely!

But first, a few basics. Taxonomy is a module. It is one of Drupal's core modules and is on by default. This means that a base install has categories on by default.

Now on to categories. Think of Taxonomy as categories and you will have jumped a major hurdle. In fact, Drupal 5 calls them categories! The module is Taxonomy, but from there Drupal calls them categories. To get to the category settings, you must go to Content Management. Under this menu you will see Categories. This is where you set up your vocabularies (category names) and terms.

So, Vocabulary is category heading. Term is the type. In my hypothetical car website, Vocabulary is auto brands. While Ford, Toyota, and Chevrolet are the terms. So if I wrote an article about the Toyota Prius, I can assign it to the category term Toyota.

Taxonomy will do a lot more, such as you can have multiple vocabularies, and you can assign vocabularies to different content types, but I'll keep this lesson to the basics. Keep it simple, and you'' be fine. Drupal rocks!

Trackback URL for this post:

http://www.drupaldude.com/trackback/35
Gavin Doolan's picture

Taxonomy and Forums?

Can you assign different taxonomy vocabularies to different forums?

Say for example I have a Mazda forum and I want only a list of Mazda, Makes / Models to apper in the list is this possible?

I am building a site now that will have 1000's of car models and to provide a drop down with all of them will be ridiculous.

Of course I can use Free Tagging but that will probably cause alot of duplication and misspellings etc..

Thanks for your reply.
Gavin.

howto4u.com's picture

How To Set Home Page of Category

I cannot figure out how to set the home page of a category so that when the category link in the navigation is clicked, it goes somewhere. Right now I am getting that there is no page there.

Yet, when I create a page, it just becomes a menu item .

Again, how do I assign a page to be the index page of a category?

Thanks