Display number of posts next to author name

mcrittenden - June 12, 2009 - 18:08
Project:Author Taxonomy
Version:6.x-1.8
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:won't fix
Description

It'd be useful to have the number of posts each author has next to their name in the Taxonomy. Hope that's not already in there and I glossed over it!

#1

Todd Nienkerk - June 12, 2009 - 18:17

Thanks for the suggestion, but I'd rather not implement that feature. Querying the database for a list of all nodes tagged with an author term could be a performance hit.

However, if you are a developer or have access to developer resources, you can add this functionality to our site by overriding the theme function that produces the output. You can add a query there and add the number of posts.

I'll leave this issue open to see if people vote it up. If more people would like it, I'll add it.

#2

mcrittenden - June 12, 2009 - 18:39
Priority:normal» minor

Thanks for the quick response and the theming tip. :)

#3

Todd Nienkerk - September 16, 2009 - 19:06
Status:active» won't fix

I haven't seen any activity here, so I'll mark this feature request as "won't fix." The feature can be accomplished at either the theme or module level by implementing template_preprocess_node().

 
 

Drupal is a registered trademark of Dries Buytaert.