I am somewhat new to Drupal and so I hope this question is not too basic. I've spent a ton of time reading around the site and experimenting with modules before posting and am still unable to find an answer - I'd love any pointers.
Here's my challenge: I have a view that I'm displaying in table format. The objects I'm displaying are Ubercart products, each of which have their own taxonomy term (from the product catalog). I'd like to find a way to display the title of the product's taxonomy term PARENT.
In simpler terms, my catalog is displayed as follows:
Category 1
-Product A
-Product B
Category 2
-Product C
-Product D
I'd like the following fields to display:
CATEGORY NAME PRODUCT NAME
Category 1 Product B
Category 1 Product A
..etc.. ..etc..
Right now, I only know how to access the "Product Name" category (this is the taxonomy term of the product). How can I go about displaying the category name of the product (which is one level up in the taxonomy hierarchy)?
Thank you very much.
Comments
Comment #1
merlinofchaos commentedUnfortunately, Views does not have any support for displaying taxonomy parentage. So unfortunately there is no easy way to do this.
(The good news is...your question isn't too basic! The bad news is...I can't help you.)
Comment #2
ff1 commentedFor info, it looks like this feature has been added to views 2 for drupal 6.x:
#288757: New relationship: Parent Terms
...not that it helps you though :(
Comment #3
youplatform commentedThank you very much - I will definitely keep this in mind when I upgrade to Drupal 6x. In the meantime, I guess I'll just go through that code and see how they did it to try to link it up to www.youplatform.com
Best regards
Comment #4
youplatform commentedClosing this for now.