Hi,
I use "views 2.6" to retrieve the taxonomy terms and show them in "categories" block. Example: http://img24.imageshack.us/img24/5458/views.jpg

Is possible to show the number of items in each term ? For example:

Blog (2)
Web (6)

Any idea how to show the numbers using views ? Thanks!

Comments

zoliky’s picture

no one knows?

coolreddy’s picture

I use the term node count module to display the count of number of items in each term in Views. Check out http://drupal.org/project/term_node_count.

zoliky’s picture

thank you!
Everything works fine! Is possible to show the number near the "term name"? Something like: Termname (2)
The term_node_count create a separate DIV and put the number on separate line: http://img371.imageshack.us/img371/1931/drupal2.jpg

I would be grateful for any help! Thanks!

coolreddy’s picture

You can control the termcount display by setting the following in Views:
Style: HTML List
Row Style: Fields. In Row Style settings, enable Taxonomy: Term & Taxonomy: Term Node Count and put : in separator field. This should display it as Termname: 2. I haven't figured out a way to display as (2).

zoliky’s picture

Ok, thanks I solved the problem..
Use the prefix, suffix in fields to show the ( )