Fix for add node type as body class

  1. page.tpl.php
  2.  
  3. <html>
  4.     <body class="<?php print($node->type) ? $node->type : 'notype';?>"</body>
  5. </html>

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.