can't get TAC lite to work with sodelicious- seems to be a problem with taxonomy_image_display in code

haloslipd - January 19, 2009 - 23:09
Project:Sodelicious
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:haloslipd
Status:active
Description

<?php
print date('M', $node->created);
?>

<?php
print date('d', $node->created);
?>

<?php
foreach (taxonomy_node_get_terms($node->nid) as $term) {
?>

<?php
if ($image = <em>taxonomy_image_display</em>($term->tid)) { print '<div class="book_item">'.$image.'</div>'; }
?>

<?php
}
?>

#1

haloslipd - January 19, 2009 - 23:12

Fatal error: Call to undefined function taxonomy_image_display() in /home/teaching/public_html/conferencetest/themes/sodelicious/node.tpl.php on line 13

is the error I get.
Thanks,
Anne

 
 

Drupal is a registered trademark of Dries Buytaert.