views:

50

answers:

3

Is it possible to theme a Drupal 6 vocab the same way you would a node type. Having it effect every term within the vocab?

I find drupal 6's taxonomy core is lacking when it comes to theming. I want to build custom charts and user statistics based on my taxonomy terms but I can't get anywhere near it without doing some ugly dance with views.

Any ideas?

Thanks!

Arthur

A: 

If you just want to sort the page that shows all the nodes using a term, then you can use Views.
Template files should not be directly changed, as far as possible. Doing so, you can change the currently set up theme without to copy all the modified template files you created.

kiamlaluno
+1  A: 

D6 theming of taxonomy pages is indeed a little sparse.

However, if you want the power, then 'panels' provides a great 'taxonomy term' context that will override the /taxonomy/term/n URLs and allow you to display the bits you want, such as the term description at the top, then all 'stories' with that term in in a teaser list, and all 'pictures' tagged with that term as a gallery preview, and maybe the older stories in a archive list also.

It takes a little getting used to the terminology and where buttons are in panels, but once you see how context arguments get passed down, it works.

dman
A: 

I have solved this by using the Taxonomy Node module. It will create a node under a specific node type for each taxonomy term in a selected vocabulary. From there you can add custom content to each taxonomy, like images, videos, views, comments, etc.

askon