Is there a Drupal 6 equivalent to the method template_preprocess_taxonomy_term()? I'm looking to add some code that will provide some additional links on my taxonomy term pages and want to keep the code in template.php (don't like code in my templates themselves).


Managed to eventually figure this out myself. I'm using the following in template.php to identify a taxonomy term page in D6:-

function THEME_preprocess_page(&$vars) {
  if (arg(0)=='taxonomy' && arg(1)=='term') {
    // do something
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.