Drupal 7 filter displays node taxonomy term

I have a similar question with my previous one ( Drupal 7 views filter by dynamic taxonomic term ), it's just the other way around.

I have a β€œpartner” content type, each of which has its own taxonomy term. Another type of content is a regular page with several terms from the partner dictionary. In my regular sites, I want to include several "partners" in the view block.

The view should filter only those corresponding partner nodes (those marked with one of the regular node tags).

Can this be done like that? The problem is that I cannot get term names from URLs through context filters ...

+6
source share
1 answer

After all day (and posted it there), I eventually found the answer.

This is based on a tutorial on scito.ch (thanks), with a few changes. In the Content: Has taxonomy term ID (with depth) filter, be sure to check the Allow multiple values box. Also (there are a lot of mistakes for this), do not specify anything in WHEN THE FILTER VALUE IS AVAILABLE OR A DEFAULT IS PROVIDED . It is important to specify all these 3 context filters.

Hope this helps someone and save him on a sunny day :)

+17
source

Source: https://habr.com/ru/post/897106/


All Articles