Drupal Views display newest content per taxonothe limit to one node

drupal-6drupal-viewsviews

I want to create a view where all 5 of my taxonomy terms are displayed and it then displays the latest node published but this is limited by 1. For Example:

Tax Term 1
Latest node published

Tax Term 2
Latest node published

etc etc

Currently I'm grouping by taxonomy term so it's displaying all nodes published then sorted by published date desc. I can't quite figure out how to limit the nodes to only show one item per taxonomy term.

Any help would be greatly appreciated.

Best Answer

This is possible with Views 3. I've tested this on D7, but should work on D6 also.

  1. Add a new view of type - Taxonomy terms
  2. Add relationship - Taxonomy term: Representative node
  3. Other - Use aggregation: Yes
  4. Add field - Content: Title. Change Aggregation settings to Group results together
Related Topic