Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
taxonomy data
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2009 at 03:59 UTC
Updated:
26 Dec 2010 at 09:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnersry.
Is this how it should work? there is no question in this issue.
Comment #2
AlexisWilke commentedDarn!
Looks like the views are too complicated for most people to handle! 8-)
Whenever I create a Node type view, I can select Taxonomy Term ID with depth. We would need that feature in the views created as Taxonomy type. At this time, you cannot make anything with the depth which is rather annoying.
I was looking into making the Node type of the filter work with the Taxonomy type, but I thought that in v2.x you would write all Taxonomy related filters inside Taxonomy and link them to the node with a Join. So I don't understand why that Taxonomy with depth filter isn't available in the Taxonomy...
More soon.
Thank you.
Alexis Wilke
Comment #3
summit commentedSubscribing, needing filtering only on depth of taxonomy terms. So say on 2, only get taxonomy terms with depth 2.
Greetings, Martijn
Comment #4
iNade commentedThe first comment of the thread is pretty ununderstable, but the problem is really here : "So say on 2, only get taxonomy terms with depth 2.".
Subscribing btw.
Comment #5
iamjon commentedSubscribing this would be a really cool function
Comment #6
iamjon commentedI'm attaching a couple of images to illustrate the issue request. For both arguments and filter
Comment #7
iamjon commentedI spoke to merlinofchaos yesterday on MIRC he hinted that if you're just looking to get the child of a term you can do it with relationships. I had no clue how to do that, a bunch of goggling and 15minutes of experiments later I came up with this, and low and behold
it worksI probably did something wrong.It's not the solution to the issue, but does at least solve part of the problem if someone needs only the first level child of a term.
Edit. I'm might have mis-configured the view, but I from the view I posted here I was only able to get the first level from the first term,
My tree
term1
-t1child1
--t1grandchild1
--t1grandchild2
--t1grandchild3
-t1child2
-t1child3
term2
-t2child
-t2child
-t2child
If I gave term1 as an argument everything worked swimmingly. I got the images and the terms for t1child1, t1child2, t1child3. If I gave t1child1 as the argument, instead of getting the grandchildren I got the same results.
I tried the recipe here http://drupal.org/node/392336#comment-1327618, but it didn't work as well, something to do with the images.
Comment #8
iamjon commentedI've decided to follow agentrickard and majis footsteps http://drupal.org/node/271833 and try code a solution to the problem.
As per my conversation with merlinofchaos on mirc I'm posting the first attempt, that still doesn't work at all, so he or someone reading this can point me in the right direction of which handlers to plug into, and what to google, as I learn the views api.
Comment #9
iamjon commentedI'm postponing this issue as I don't have time to deal with it. There is another issues that are attempting the same/similar thing:
http://drupal.org/node/329159
http://drupal.org/project/tax_depth_lim_filter
http://drupal.org/node/333439
http://drupal.org/project/views_hacks
Comment #10
iamjon commented