By denniemans on
Hi,
I've got a content type called 'news'. Creating a template called 'node-news.tpl.php' isn't working (yes, i've cleared the cache). This used to work in Drupal 6? What should I do to get this working in Drupal 7?
Hi,
I've got a content type called 'news'. Creating a template called 'node-news.tpl.php' isn't working (yes, i've cleared the cache). This used to work in Drupal 6? What should I do to get this working in Drupal 7?
Comments
You should use the double
You should use the double hyphen file naming style, like 'node--news.tpl.php' single hyphen used to seperate words in the name.