Drupal 7 - Creating a presentation of hierarchical content using a taxonomy or content type

I am trying to create a custom view in Drupal 7 that acts as a landing page for content. I created a taxonomy group called "Knowledge Areas", which is a hierarchical list of categories - for example:

  • Knowledge Area 1

    • Subarea 1

    • Subarea 2

  • Knowledge Area 2

    • Subarea 1

Now these terms are used to link related pages / content types together, so for a section of a website called “Research Areas” I have a list of pages, each of which is a content type of a Research Area. On each of these pages was a link to one of the areas of expertise listed above (taxonomy term).

Areas of research and their relationship with the field of knowledge:

  • Research Area 1 (Knowledge Area = 1)

    • Research Subarea 1 (area of ​​expertise = 2)

    • Research Subarea 2 (area of ​​expertise = 3)

  • Research Area 2 (Knowledge Area = 4)

    • Research Subarea 1 (area of ​​expertise = 5)

My goal is to create a list of landing pages from all research areas in a hierarchical structure, but I cannot find a good way to do this in Drupal 7. I use Views, Token, PathAuto, CCK, etc. This hierarchical structure, which I assume, should be based on its taxonomy relationships, as shown in the diagrams above, only because I cannot understand how easy it is to get a list of nodes of a certain type of content in parent-> child.

I managed to get the Research Area pages in the parent> child structure by moving links in the menu admin screens, but in fact there is no self-referencing link between the nodes. That's why I thought that the only way around it is to link to a taxonomy group.

Hope this makes sense, really needs a solution. And it's probably easy that I'm wrong!

Thanks!

+4
source share
1 answer

I may not have read it correctly, but you can try using the Menu Block , perhaps in addition to the Taxonomy Menu . Just create a new menu, say, “Research,” and with the “Taxonomy” menu turned on, you can specify the taxonomy to start in this particular menu, and then create a list of links based on the conditions. Using the menu block, you can manage the menu and place it on the page, wherever you want, possibly on the base page using context.

Then just customize your content. No need for views.

Hope this helps.

0
source

All Articles