/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function themename_preprocess_page(&$variables) { if ($variables['node']->type != "") { $variables['template_files'][] = "page-node-" . $variables['node']->type; } }
URL: http://drupal.org/node/249726