1

I would like to show a list of taxonomy terms and include:

  • number of nodes that are linked to this term
  • datestamp of latest node with author and title that is linked to this term

Can this be done in a view, or do I need a custom query? From a performance standpoint, wouldn't it be better to save that info in taxonomy fields?

1

Try to create a View using grouping.

Set Format to Table
Go to Settings > Grouping field = "Tags" (your taxonomy term field)

Field "Tag" should have this setting:

  • Exclude from display [X]

There are some modules I didn't try that could help you with adding summary field to your Views:

  • Maybe someone could explain which solution is faster and the best practice ? – Refineo Sep 13 '11 at 19:09
  • There is an article "Best practice? Math expression fields, Computed Fields, Views Calc, hook_views_pre_render and more" on drupal.org/node/1219356 – Refineo Sep 13 '11 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.