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

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by avior on December 14, 2008 at 10:44pm

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

Categories:

Comments

Relationships and filter may work

Posted by SeedTreeLLC on January 11, 2009 at 7:48pm

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

Posted by avior on January 12, 2009 at 8:27pm

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

Posted by summit on January 11, 2009 at 10:07pm

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

Posted by masagin on December 2, 2009 at 12:07am

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

Posted by asghar on December 2, 2009 at 4:24am

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

Posted by BeaPower on August 4, 2010 at 10:48pm

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

As i was saying i did not

Posted by avior on August 5, 2010 at 3:51am

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:

AltStyle によって変換されたページ (->オリジナル) /