drupal 6 views taxonomy sub page title term name

Fix for Fix for term description to display as a sub-page title for each different termid (argument)

  1. <?php
  2. $term_name = arg(1);
  3. $matching_terms = taxonomy_get_term_by_name ($term_name);
  4. if (count($matching_terms) > 0) {
  5.   print '<p>'. $matching_terms[0]->description . '</p>';
  6. }
  7. ?>

Fix for term description to display as a sub-page title for each differnet termid (argument)

  1. <?php
  2. $term_name = arg(1);
  3. $matching_terms = taxonomy_get_term_by_name ($term_name);
  4. if (count($matching_terms) > 0) {
  5.   print '<p>'. $matching_terms[0]->description . '</p>';
  6. }
  7. ?>
Syndicate content