Term Image and Name?

parrottvision - December 29, 2008 - 10:47
Project:Taxonomy Image
Version:6.x-1.4
Component:Contrib Node Display
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

In Drupal 5.* I used to print the image and name for a particular term ID using this

<?php
print $node->content['taxonomy_image']['#value'];
?>

Now I only get image which is more correct I guess. Can't find anywhere to tell me how to get just that one vocab image and name to print? Possibly more a forum Q?

#1

NancyDru - December 29, 2008 - 15:00
Assigned to:Anonymous» NancyDru
Status:active» needs review

Try the attached patch. At the moment, I can't recall if there was a reason for this to be different.

AttachmentSize
taxonomy_image_node_display.module.patch 921 bytes

#2

parrottvision - December 29, 2008 - 20:51

Thanks Nancy - that worked a treat. Couldn't get the patch to apply so I manually patched it and it is super. Thanks for your help and prompt reply!

#3

NancyDru - December 30, 2008 - 01:33
Status:needs review» fixed

Committed.

#4

System Message - January 13, 2009 - 01:40
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

NancyDru - February 1, 2009 - 19:49
Assigned to:NancyDru» Anonymous
 
 

Drupal is a registered trademark of Dries Buytaert.