PHP code for Block visibility by Vocabulary ID I need to show a block for terms of a certain vocabulery. Drupal.org has this snippit for Drupal 6, but I cant find anything for Drupal 7. 

http://drupal.org/node/69076 

Im looking at PHP in the block visibility settings as Im assuming its the best way, but id be happy with any other solution. Thanks
If you want to do this on the term pages you should be able to use this code from Drupal.org. Just replace the function call taxonomy_get_term with taxonomy_term_load.

The code is copied below:

 &lt;?php
  $desired_vocab = 1; // put here the vocabulary ID you're interested in

  if ( ((arg(0) == 'taxonomy')
    &amp;&amp; (arg(1) == 'term')
    &amp;&amp; is_numeric(arg(2))
    &amp;&amp; ($term = taxonomy_term_load(arg(2)))
    &amp;&amp; ($term-&gt;vid == $desired_vocab )) ) {
      return TRUE;
  }
?&gt;