Revision: 7115
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 7, 2008 10:10 by shrop
Initial Code
<?php if (arg(0) == 'blog') { return TRUE; } if (arg(0) == 'node' && ctype_digit(arg(1))) { $node = node_load(arg(1)); if ($node->type == 'forum') { return TRUE; } } return FALSE; ?>
Initial URL
http://www.packtpub.com/drupal-5-themes/book
Initial Description
From Drupal 5 Themes book.
Initial Title
Drupal Block Visibility: Show On Blog and Forums
Initial Tags
drupal
Initial Language
PHP