I've searched through the forums for a way to display custom HTML based on whether a taxonomy term is selected for a node. I found this:

<?php if (arg(0)=='taxonomy' & arg(1)=='term' & arg(2)== '49') : ?>Custom HTML goes here<?php endif; ?>

but it does not appear to be working with Drupal 6. Is there a method for this in Drupal 6?

Comments

Coupon Code Swap’s picture

Is there something wrong with the syntax or is there another way of accomplishing this in Drupal 6? I'd like to display custom HTML in a node based on whether a taxonomy term was selected or not. Any help would be appreciated.