Skip to content

Instantly share code, notes, and snippets.

@jlebrech
Created January 26, 2011 13:56
Show Gist options
  • Save jlebrech/796712 to your computer and use it in GitHub Desktop.
Save jlebrech/796712 to your computer and use it in GitHub Desktop.
function danland_preprocess_node(&$vars, $hook) {
$node = $vars['node'];
$vars['template_file'] = 'node-'. $node->nid;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment