How do I Display a Single Vocabulary Term and all sub terms?

sclough - December 29, 2005 - 02:36

I have been searching through all sorts of vocabulary and taxonomy posts and even tried the vocabulary list module, but I cannot get to what I'm wanting. Basically I want a page that shows the description I put on a particular vocabulary and then lists the various terms under it. A node count would be nice also. This seems like something very basic to me, but I cannot figure it out. At this point I'm considering just using a php snippet page, but it seems like this should not be so difficult. Basically, if I have a vocabulary called "Food" and I have under it the terms Milk, Vegetables, Meat, I would have a page that looks like:

Food

This is the description I put in for the vocabulary Food in admin.

* Milk (4)
* Vegetables (50)
* Meat (2)

Milk, Vegetables, and Meat would all be links to the taxonomy page for that particular term. Am I missing an easy way to do this or can it not be easily done?

The Site Map module will do

venkat-rk - December 29, 2005 - 03:09

I don't know about restricting the output to a single vocabulary, but if you want to show all the vocabs and their terms on a single page, try the Site Map module. After installing and configuring the settings, simply go to www.yourdomain.com/sitemap to see the output.

If you don't like to call it sitemap, you can alias it to something else at administer>>url aliases>>add alias (but I don't know if the title of the page will still be 'Site Map').

An alternative module is taxonomy_dhtml. You may well be able to restrict the view to a particular vocab with this module, although I am not entirely sure.

Thanks, I'll try that.

sclough - December 29, 2005 - 10:22

Thanks, I'll try that.

I don't recollect

venkat-rk - December 29, 2005 - 11:30

I don't recollect taxonomy_dhtml printing out the vocab description, though. I may be wrong, however.

 
 

Drupal is a registered trademark of Dries Buytaert.