Hi, I've created a Taxonomy vocabulary with this tree:

- cars
-- Ferrari
-- Maserati
-- BMW
- Motorcycles
-- BMW
-- Honda
-- Ducati

And I'd like to create a view that let me show list of "models" regarding the specific category: i mean (using paths)
id I choose

URL : models --> I get a glossary with Cars and Motorcycles

else

URL models/cars --> I get a list of terms children of "Cars" (same thing with Motorcycles)

again, if I choose

URL: models/cars/bmw --> I get a list of nodes tagged with BMW (child of Cars)

How can I get that? I'm able to create this for the 2nd level of taxonomy, but I cant figure out how can I link parent-child relationship... any help?
Thanks!

Comments

brainski’s picture

Priority: Normal » Critical

I have the same problem. I created a view:

Audi
-A3
-A4
BMW
-301
-501

I would like to create an unordered list filtered by a parent term.

For example parent term filter = "Audi"

Result should be
A3
A4

Steps for reproduction:

1. I created a view based on taxonomy term.
2. Added field taxobnomy term
3.Then I added a filter for a vocabulary
4. Added a filter for a vocabulary id.
5. Select Dropdown and display hierarchy
6. I selected Audi and "Is all of".

The result is, that apache crashed. It seems that there is an infinite loop.

thepanz’s picture

I think to have found a fix for my issue: I'm using "Relationship" with "Taxonomy Term Parent" adding a pre-matching page listing all parent-term glossary.
in the second level argument use the relationship to filter nodes for a particular term-child.
Give it a try!

Regards

dawehner’s picture

Priority: Critical » Normal

so this can be fixed, btw. this is not critical

esmerel’s picture

Status: Active » Fixed

Original requester resolve own issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.