Views2 nodes summary by taxonomy - 2nd depth only , possible ?

Events happening in the community are now at Drupal community events on www.drupal.org.
avior's picture

Hi

I have a location vocab with region & country

Region1
   |_country X
Region 2
   |_country Y
   |_country Z

i want to be able to do display nodes summary view but only by 2nd level (countries only)
country X (12)
country Y (2)
country Z (7)

If i use "Taxonomy: Term ID" as an argument (Summary, sorted ascending,validation set to taxonomy term by the vocab),
I get all countries but also the regions

how can i drop the regions ?

I even used the "Taxonomy: Term ID depth modifier" , with no success

hope someone can guide me how to do this

(I am using drupal 6.x views 6.x-2.1,)

Thanks
Avior

Comments

Relationships and filter may work

SeedTreeLLC's picture

I just found the video tutorial on View 2 relationships http://drewish.com/node/127. It may help.

Thanks but this doesn't seem to help here

avior's picture

Hello ,
Thanks but this doesn't seem to help here,
I did not find a way doing this with views ,
so i have separated the vocabularies to 2 : 1) regions, 2) countries

Hi, Did you get this

summit's picture

Hi,
Did you get this working?
Could you then please share your code?
I am looking for similar sort of code, but then getting views2 to filter on two taxonomy terms.

Thanks a lot in advance!
Greetings,
Martijn

pain

masagin's picture

Hello,

I've just spent hours trying to solve this in Views 2 UI and now I believe, it really isn't solvable. And it seemed like a really easy task :(. Did I miss something? Thanks for any help.

--
Bohdan

hi

asghar's picture

hi
i think you can do it by relationship your region will be parent and your country will be child try it?

I would like to know if this

BeaPower's picture

I would like to know if this is possible now...

As i was saying i did not

avior's picture

As i was saying i did not managed to do it ,
so i have separated the vocabularies to 2 : 1) regions, 2) countries

i know that views has a term depth argument , you might want to investigate it more

i did not used this module , but maybe you want to check http://drupal.org/project/views_groupby

please report back here if one of the above solved the problem

good luck

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: