I'm using Drupal 4.7, trying to figure out how to make my page.tpl.php file display $breadcrumb and $title in different places if the displayed page is either a node (article) or a taxonomy term listing.

$page==0 doesn't seem to help. Any ideas?

Comments

TheWhippinpost’s picture

-- Example

arg(0)=="taxonomy" && arg(1) == "node"

Here's a page with more variables and examples you can test for

Mike

jamespvg’s picture

Thanks for that pointer TheWhippinpost, that was really helpful.

Following on from that, is there any way for page.tpl.php to ascertain the taxonomy of an individual node?