Revision: 8012
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 26, 2008 17:31 by aleprieto
Initial Code
<?php
function _phptemplate_variables($hook, $vars = array()) {
switch ($hook) {
case 'node':
$vars['template_files'] = array('node-'. $vars['nid']);
break;
}
return $vars;
}
?>
Initial URL
http://drupal.org/node/136647
Initial Description
If you want to use a specific node.tpl.php for a node, paste or merge this code into your template.php
Initial Title
Separate theme for a specific node
Initial Tags
template, drupal
Initial Language
PHP