I'm on a Taxonomy Views Page

/category/vocab-name/term-name

Is there a variable which stores the Term Name so I can print it out somewhere?

print $termname

The termname is the active term so it gets highlighted as a class of Active when someone goes to that page, I need to know the variable for printing it out.

Thanks

Comments

sravanglitter’s picture

Use this code in Page.tpl.php to get the taxonomy details

     $debug = "<pre>". print_r($node->taxonomy,true) ."</pre>";
     print $debug;
      

You can manipulate the result as needed with a simple foreach.