Say I have two terms in a vocabulary, and I want to display their titles and descriptions, along with a list of nodes which have been tagged. Here's an example:
Page Title: Services
Term Name: Medical Term Description: We're the best doctors in town! Content tagged with term: Brain Surgery, Leg Amputation Term Name: Business Term Description: We'll make you rich! Content tagged with term: Accounting, Management, Bookkeeping, Strategy How could I accomplish this using Views in Drupal 7?
I've tried creating a term view, adding the term name and term description fields, enabling a relationship for 'Content with Term', adding a field for 'Content: Title', and grouping by Term name with 'Use rendered output to group rows' disabled, but I still get a ton of duplicates.
Any way to resolve this?
Debunked Methods:
Use aggregation! - Nope, this results in something like this (not what we're after here):
Term Name: Medical Term Description: We're the best doctors in town! Content tagged with term: Brain Surgery Term Name: Medical Term Description: We're the best doctors in town! Content tagged with term: Leg Amputation Use the Views Distinct module! - Nope, nothing here seems to work either.
Update
Jimmy's Answer works well for my situation. Alternatively, I also believe that creating a custom display for your taxonomy and developing a field that displays related content based on TID could circumvent your need for views at all. If you're desperate and less paranoid about logic-less templates, you could do that heavy lifting in your theme (don't do this).




