The function andreas02_print_terms() in the template.php file uses the Drupal 5 API call to taxonomy_node_get_terms_by_vocabulary($nid, $vocabulary->vid)

In Drupal 6, the API changed so that instead of passing the Node ID ($nid) you pass the Node objects itself.

Easy fix: change node.tpl.php to call andreas02_print_terms($node), and change the function accordingly.

Comments

nickbits’s picture

Assigned: Unassigned » nickbits
Status: Active » Fixed

Changes made. Thank you for pointing this out, very much appreciated.

nickbits’s picture

Status: Fixed » Closed (fixed)