Return to Snippet

Revision: 8012
at August 26, 2008 17:31 by aleprieto

Initial Code
function _phptemplate_variables($hook, $vars = array()) {
  switch ($hook) {
    case 'node':
      $vars['template_files'] = array('node-'. $vars['nid']);
  return $vars;

Initial URL

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