Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
6.x-2.8
Component:
table style
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
6 Dec 2009 at 21:34 UTC
Updated:
19 Nov 2010 at 18:05 UTC
Hi,
I tried to construct a table of taxonomy terms and the content types for which each term is present. If you look at the attached image, you will see what I mean.
I tried to do this with a View type of "term" but I couldn't manage to do it.
I think this type of display has many uses. For example, one can put check or cross signs to construct comparison tables as we sometimes see on product pages.
Anyone have an idea?
| Comment | File | Size | Author |
|---|---|---|---|
| table.png | 8.3 KB | Sinan Erdem |
Comments
Comment #1
Sinan Erdem commentedOr is it at least possible to filter taxonomy terms by node type? I can definitely add a node type filter after selecting the view type as "node" but then there is the "duplicate terms" issue...
Comment #2
dagmarCan you provide a table with your "expected view"?
Again, can you explain a bit more what do you understand by "filter taxonomy terms by node type", do you mean an exposed filter? several views?
Comment #3
Sinan Erdem commentedFirst of all thank you for the quick response...
I just want to display the name of all terms in the first column. Then, in the other columns of the table, I want to display the text "page", "story" or any other content type, only if the term is used for that type of content. If you look at the attached png file, you can easily understand what I mean...
Regarding the second question I asked, I want to list all the taxonomy terms of a specific content type. For example I have "page" and "story" content types and 5 terms are associated with page and 7 terms are associated with story nodes. I just want to list those 5 terms that are associated with page nodes...
When I choose "term" as the view type, I cannot filter the terms because there are only two filters: term ID and vocabulary. If I choose "node" as the view type, I can filter for almost anything but this time, there are duplicated for each term. Because it displays a term for every node associated with it...
Comment #4
merlinofchaos commentedRight now there isn't a way to do this with Views.
Comment #5
esmerel commentedComment #6
dawehnerThere was a issue which wanted to introduce a base table node type.
I think this issue could be managed with the other. Sadly i can't find the issue
Comment #7
Letharion commentedComment #8
merlinofchaos commentedActually, even if we introduced another field, this would not be possible in Views.