Views and Taxonomy Image

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by shushu on January 18, 2009 at 8:35pm

Hello,

I created a "restaurant" cck, which can fit to one or more restaurant types (which is a taxonomy vocabulary).
My goal was to create a table view that will show the restaurant types as images (using taxonomy_image.module).
While taxonomy_image module do have Views integration, it lacks the "all terms" option, and makes duplications.

My solution was to enhance the views_handler_field_term_node_tid.inc to support taxonomy_image. Patch is attached.

I didn't want to create an Issue in Views before I bring this before your eyes, to get your feedbacks.

Is there a better way to do it ?
Are there existing methods to do it without coding ?
Where should I put this code ?

Thanks,
shushu

AttachmentSize
views_handler_field_term_node_tid.inc_.patch_.txt 2.81 KB
Categories: ,

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /