Working with views and a taxonomy list is a popular subject at DA. Many of the examples I've found refer to making a jump list of taxonomy terms and parent terms similar to what you may see with a nested vocabulary on your site's core taxonomy page [1] (following the list terms link on any given vocabulary). My Views view goal is just as simple and I'm nearly there except for two important requirements.
My Views view is a catalog of node content titles and truncated descriptions categorized by a two level vocabulary. (Think of finding something at a hardware store). The goal is a single page without a sorting requirement (think of it as a very small hardware store, so I skipped the answers suggesting wild card sorting in the URL). I'm nearly there using the table format where I've used the setting Groupping Field Nr. 1: Content: My_Taxo
to organize the node content. This creates a separate table for each group and a caption element for each category.
The first missing requirement is the parent term.
The instructions for a simple vocab list say to add the Relationship, Term parent. This adds several new items to Fields: add
list page. Unfortunately, none in this list are distinguished as parent term
, which means I can't easily add a parent taxonomy term field, add a child term field, go back into Table: Settings
set Groupping Field Nr.1
to be the parent and Nr.2
to child and be done with it. (9_9)
- Content: All taxonomy terms
- Taxonomy term: Name
- Taxonomy term: Rendered Taxonomy term
Taxonomy term: Term descriptionTaxonomy term: Term edit link- Taxonomy term: Term ID
- Taxonomy term: Weight
Taxonomy vocabulary: Description- Taxonomy vocabulary: Machine name
- Taxonomy vocabulary: Name
- Taxonomy vocabulary: Vocabulary ID
The second missing requirement, which may only be correctly answered by the first problem, is the captioned tables do not sort in the same order as the weights set on the taxonomy page list. To try to set this requirement I added, Sort criteria: (menu_category) Taxonomy term: Weight (asc)