Hello,
My taxonomized structure is fairly simple:

Videos (Vocabulary)
Class 1 (Term)
Gallery 1 (Sub Term)
Gallery 2 (Sub Term)
Gallery 3 (Sub Term)
Gallery 4 (Sub Term)
Gallery ...

Class 2 (Term)
Gallery 1 (Sub Term)
Gallery 2 (Sub Term)
Gallery 3 (Sub Term)
Gallery 4 (Sub Term)
Gallery ...
Class 3 (Term)
Gallery 1 (Sub Term)
Gallery 2 (Sub Term)
Gallery 3 (Sub Term)
Gallery 4 (Sub Term)
Gallery ...

Images (Vocabulary)
Class 1 (Term)
Gallery 1 (Sub Term)
Gallery 2 (Sub Term)
Gallery 3 (Sub Term)
Gallery 4 (Sub Term)
Gallery ...

Class 2 (Term)
Gallery 1 (Sub Term)
Gallery 2 (Sub Term)
Gallery 3 (Sub Term)
Gallery 4 (Sub Term)
Gallery ...
Class 3 (Term)
Gallery 1 (Sub Term)
Gallery 2 (Sub Term)
Gallery 3 (Sub Term)
Gallery 4 (Sub Term)
Gallery ...

I want to create a view that displays all the terms of "Class 1".

Unfortunately when I

1. create a view of type "Term" and
2. Add a filter "Taxonomy Term ID = Class 1"
3. Add a filed "Taxonomy Term"

it lists
Class 1, Class 2, Class 3 etc.

Please help how do I get Gallery 1, Gallery 2 etc from Videos-Class 1?

I want to implement it only using views, not using modules like "taxonomy list" or "vocabulary index".

Regards

Regards

Comments

matt_harrold’s picture

Instead of using a Views Filter ... use a Views Argument ... Parent: Term

This will list all child-terms of the argument supplied to the view.

I am learning’s picture

Thanks for the reply,
Could you please explain it a little more as its only retrieving Class 1.

This is how I did:
1. Create a view of type "Term"
2. Add Fileds "Taxonomy Term"
3. Add Arguments "Taxomomy: Term ID", Validator Options - Validator: Taxonomy Term - Video, Argument Type: Term ID

When I pass 93 (Term ID of Class 1) as argument, it returns only Class 1. Whereas it should return Gallery 1, Gallery 2, ...

Regards

matt_harrold’s picture

You need to remove the Taxonomy: Term ID argument and replace it with a Taxonomy: Parent term argument.

That way when you pass in 93 (the parent) ... the view will display the child terms.

I am learning’s picture

Unfortunately there is nothing called Taxonomy: Parent term while adding argument I see only the following options:

Taxonomy: Term
Taxonomy term name.

Taxonomy: Term ID
The taxonomy term ID

Taxonomy: Term synonym
Term synonyms may be used to find terms by alternate names.

Taxonomy: Vocabulary ID
The taxonomy vocabulary

Regards

matt_harrold’s picture

What version of Views are you using?

I am learning’s picture

Its a re-work on this website, so its running on Drupal 6.10 and views 2

matt_harrold’s picture

There is no logical reason to use old versions of Drupal modules and core, especially when you're investing time and energy into solving the "unknown".

Update everything BEFORE you post problems here ... chances are ... the problem has gone away.

If someone gives you advice and you "can't find" what they're talking about ... perhaps it is because that particular feature wasn't available in some older version .. update everything and check again.

I am learning’s picture

ok, I'll update it first and check.

Although I found a link that solved my problem, this requires pasting some code:
http://www.rbgrn.net/content/194-drupal-taxonomy-how-to-add-list-clickab...

I still would like to do it without using code, with the help of views, so I'll follow you and get back.

Regards

aac’s picture

subscribing!!

---~~~***~~~---
aac

summit’s picture

Subscribing, greetings, Martijn