Drupal Views displays the latest content by limiting taxonomy to one node
I want to create a view where all 5 of my taxonomic conditions will be displayed and then it displays the last published node, but it is limited to 1. For example:
Tax Term 1
Latest Node PublishedTax Term 2
Latest Node Publishedetc.
I am currently grouping by taxonomic term to display all published nodes, sorted descending by publication date. I can't figure out how to restrict nodes to only display one item for a taxonomic term.
Any help would be greatly appreciated.
a source to share
This is possible with Views 3. I tested this on D7 but should work with D6 as well.
- Add a new type of type - taxonomic terms
- Add Relationship - Taxonomy term: Representative node
- Other - Use Aggregation: Yes
- Add Field - Content: Title. Change aggregation options for group results together
a source to share
I would suggest using a combination of ans views panels. First, create (or use the default) view for nodes that take a taxonomy term as an argument. Second, create a dashboard page containing five regions. Each region should be filled with a point of view (in fact, it will be the same view from the first step, but with different arguments). Inside the ui panels, you can limit the number of displayed posts of each type, set this value to one, so that only one article is displayed for each term.
Panels: http://drupal.org/project/panels
a source to share