DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Drupal - Building Taxonomy Menu

  • submit to reddit
if (arg(0) == 'taxonomy' && arg(1)=='term' && is_numeric(arg(2))) {
  $terms = taxonomy_get_term(arg(2));


<pre><?php echo $terms->name ?></pre>
<pre><?php echo arg(0); ?></pre>
<pre><?php echo arg(1); ?></pre>
<pre><?php echo arg(2); ?></pre>