Closed (duplicate)
Project:
Taxonomy Image
Version:
master
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
15 Oct 2007 at 15:24 UTC
Updated:
8 Feb 2008 at 17:56 UTC
Hi friends,
i have more vocabularies (3) attached to node and i have difficutl to use Taxonomy image with it.
if i have only a vocabulary there isn't any problem with this function inserted in node.tpl:
foreach (taxonomy_node_get_terms($node->nid) as $term) {
if ($image = taxonomy_image_display($term->tid)) {
print $image;
} else {?>
<span class="taxonomy"><?php print $terms?></span>
<?php
}
}
?>
but when i have more vocabularies the above function doesn't work well...she show all terms attacched at node (with and without image).
pls help me.....
sincerly..
Max
Comments
Comment #1
nancydruI have nodes with 5 vocabularies and they all work fine. But I don't mess with my theme stuff.
I add the images in a hook_link_alter function.
Comment #2
nancydru"print $terms" is going to show all the term links as it would if Taxo. Image was not installed. That much I know about themes, but I am hardly an expert. I'll have to do some playing around with it.
Comment #3
nancydruComment #4
nancydruhttp://drupal.org/node/199061