logo

Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

Need help with Views 3 for Drupal 7

22/02/2025, by Anonymous (not verified)

There is the following task.

 

There is a taxonomy with 2 levels.

I need to create Views for the first level, which I have managed to do 

 

 I created a taxonomy type view and specified the taxonomy vocabulary

and a page appeared. In it, I configured contextual filters (as I understood, this is where the argument is specified) and selected the taxonomy term "parent term" with the default value set to PHP-code result arg(1) 

As a result, I got a list of first-level terms.

 

However, when accessing the links of the first-level terms, I do not get a list of the second level; instead, I immediately see a list of nodes that have the "selected parent"

 

How can I implement a taxonomy view by levels?

For example: a list of first-level taxonomy appears as links

then I need to go down a level. There should be another list, but now of the second level. And then, when clicking on the link of a second-level term, I should see a list of nodes that meet two conditions :)

 

I look forward to your response with anticipation.