I'm using Drupal 7.8, and I've tried the same thing I did with Drupal 6, making a custom layout for a node type.

I've copied node.tpl.php, and renamed it node-NAMEOFTHENODETYPE.tpl.php, altered the template, uploaded it to the theme folder. Surprisingly, Drupal 7 doesn't take it: It shows the default node layout.

Can anyone tell me what I am doing wrong?

1 Answer 1


You mispelled the filename. Drupal 7 now uses double dashes (--); your file needs to be node--NAMEOFTHENODETYPE.tpl.php.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.