mostrar um bloco sempre que surja conteúdo associado a um termo da taxonomia

D6

<?php
if ( arg(0) == 'node' and is_numeric(arg(1)) and arg(2) == FALSE ) {
// Vocabulary term ID for which to display the block:
$displayTermID =1;
// Get all taxonomy terms for current node:
$currNodeTerms = taxonomy_node_get_terms(node_load(arg(1)));
// If there are no terms, fail-fast:
if (is_null($currNodeTerms) || 0 == count($currNodeTerms)) {
return FALSE;
}
// For each term of the current node, get all the ancestor terms:
foreach($currNodeTerms as $term) {

Subscrever drupal