Это соглашение об именах будет работать, но не по умолчанию.Предполагая, что это Drupal 6, попробуйте добавить следующий код в template.php вашей темы:
/**
* Override or insert variables into the node templates.
*
* @param $vars
* An array of variables to pass to the theme template.
* @param $hook
* The name of the template being rendered ("node" in this case.)
*/
function yourthemename_preprocess_node(&$vars, $hook) {
$node = $vars['node'];
$vars['template_file'] = 'node-'. $node->nid;
}
Убедитесь, что вы не пытаетесь переопределить yourthemename_preprocess_node()
- то есть, если он уже существует в вашемtemplate.php темы, просто добавьте в него строки $ node и $ vars ['template_file'].