Active
Project:
Taxonomy Image
Version:
6.x-1.x-dev
Component:
Contrib Link Alter
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2010 at 12:53 UTC
Updated:
23 Jun 2011 at 12:53 UTC
Support for views and d display suite
Comments
Comment #1
wouters_f commented*comment because original post could not be edited.
I had to add this code to my template file to make the image_alter work in views.
When I used the normal term and term_image fields,not all the terms were replaced by image.
The replacing only occurred for terms that were loaded with a node that was loaded on the page.
The support for image_alter is lacking.
I also had to change some coding in display suite to make my build modes and term image_replacing work well.
The coding can be found below:
Please make some hooks or include views support for this module. I'm using it because it's great.
Comment #2
artis commentedWhere specifically did you place the code above that allows image_alter to work with views?
Thanks.
Comment #3
jddeli commentedPlease tell how do you fix it?
Comment #4
wouters_f commentedI fixed it at that time by changing some code in the node display module. (function nd_terms_per_vocabulary)
This is not very clean as it should be solved in the taxonomy image module.
That's why I posted the issue here.
My experience with this taxonomy image module (and more specific the compatibility) is not very great, and I discourage using this module.
In D7 terms will be fieldable so that won't be a problem anymore.