/ Published in: PHP
From Drupal 5 Themes book.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if (arg(0) == 'blog') { return TRUE; } $node = node_load(arg(1)); if ($node->type == 'forum') { return TRUE; } } return FALSE; ?>
URL: http://www.packtpub.com/drupal-5-themes/book