Optionally displaying the number of nodes attached to a term would enhance the user experience IMHO.
http://www.drupal.org/project/term_node_count

Comments

davyvdb’s picture

Category: feature » support
Status: Active » Fixed

The node count is already available to the theme function. So if you want this in your site, you can just override this in your theme. Check out this example.

function theme_related_terms_block($terms = array()) {
  $output = '';
  foreach($terms as $term) {
    $output .= sprintf(
      '<a style="font-size: %sem;" href="%s">%s [%d]</a> ', 
      strval(number_format(0.9 + $term['cnt'] * 0.1, 2, '.', '')), 
      url('taxonomy/term/'.$term['tid']), 
      $term['name'],
      $term['cnt']
    );
  }
  
  return $output;
}

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.