I have attempted to override the custom theme display function in my template.php file. I'm using the garland theme so far. The override is not working however. At the moment I've only replaced the h3 tags with strong tags as a test. Am I missing a step?


/**
 * OVERRIDE Theme terms as a comma-separated list.
 */
function garland_term_display_custom($vocabulary, $terms) {
  $links = array();
  foreach($terms as $term) {
    $links[] = l($term->name, taxonomy_term_path($term));
  }
  return '<strong>' . check_plain($vocabulary->name) .': '. implode(', ', $links) .'</strong>';

}

P.S. I can't believe it took me so long to find this module It is exactly what I've been looking for. Great contribution. I'll promote it all I can!

Comments

anthonym’s picture

Status: Active » Closed (fixed)

Never mind. I can't explain how or why, but overnight, the override seems to have taken effect. Thanks again for the module.