I'm trying to display a View in table mode that will display my Taxonomy Images instead of my term name. I know someone has tried this before so I'm hoping this is just something that I have overlooked. I have set everything up and they do display on my node page views, but not on the table view in views. Any ideas? Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | tax-image.jpg | 42.18 KB | amariotti |
Comments
Comment #1
amariotti commentedIs this of no importance to no one else or am I just too dumb to figure it out!?
Comment #2
nancydruDid you use the "Taxonomy: Term image" field in Views?
Comment #3
nancydruComment #4
amariotti commentedI did, but the problem is that each item in my view has 3 different taxonomy terms applied to each.
This is a list that displays all current projects:
NID
Title
Taxonomy: Belongs ID (Department Name only. No need for images)
Taxonomy: Priority (Needs to display an icon for each priority. i.e. 1-Urgent, 2-High, 3-Normal, etc.)
Taxonomy: Status (Needs to display an icon for each status. i.e. In progress, Planning, Completed, etc.)
When I add the "Taxonomy Image: Image" it displays each entry three times each with the priority image on one line and the status image on the next and one blank one (probably representing the Department one which has no image associated with it). I think what needs to happen, if possible, would be to add another option under the "Option" menu (the one that currently has "As Links" and "Without Links" for taxonomy fields) when you are editing fields in your View that says "As Image." Whether or not something like this is even possible is beyond me. I did read another thread where a guy mentioned adding something like this that required a hack on the views.module file. I'd like to stay away from doing this if possible (as most Drupal Users would).
Let me know your thoughts and questions. Sorry if my explanation is confusing!
Andrew
Comment #5
nancydruPerhaps some nice Views guru will come by. It was a stretch of my abilities to even get what we have working.
Comment #6
amariotti commentedCross our fingers, I guess.
I found this issue in the queue that kind of gave me a little taste of what I wanted. But never really came up with a solution.
http://drupal.org/node/273839
The last thing you said was asking him if he would roll it into a patch. Nothing else since then.
The Views maintainer responded to his request with the following:
I'll see if I can respond on the Views issue to see if I can get someone's attention. If you have any ideas or can jump in it might encourage someone to help out. :)
Comment #7
nancydruI'm sorry this is still way over my head.
Comment #8
amariotti commentedThat's fine. If it's way over your head then that puts it 1,000 miles over mine. :)
Comment #9
nancydruI just committed the patch in #312655: adding taxonomy_image field in views - create multiple listing that might fix this.
Comment #10
amariotti commentedVery cool! Now it no longer displays the items more than once. I've gone away from using taxonomy to organize my content for this project only because I needed to get it done. Also because I am using another module that required the items to be CCK fields. Anyway, it looks like it's working great, but would be nice to be able to select "image" as an option in the "Option" drop-down. Not extremely necessary though! :)
I'm sure someone will come around and want to take care of making it do that. We'll see!
Comment #11
nancydruI think your request is satisfied with #315351: term link for taxonomy image field in Views which is now on the -dev version.
Comment #12
amariotti commentedThanks so much, Nancy!!!!
Comment #13
nancydru