1

I have a content type with a machine name of 'school' after reading the documentation I should be able to just create a node-school.tpl.php to toy with the output of this in my theme.

Yet it does not seem to be overwriting it. I am trying to hack something together and I am using the twitter bootstrap Drupal theme.

1
  • Drupal6 or Drupal7?
    – Ram
    Aug 6, 2013 at 9:01

2 Answers 2

2

If its drupal6 site then it is node-school.tpl.php . If Druapl7 then tpl should be node--school.tpl.php.

After Creating the files you need to clear the performance cache once.

2
  • Argh it was the performance cache doing me over. Thanks for the super fast response!
    – David
    Aug 6, 2013 at 9:05
  • Most Welcome :)
    – Ram
    Aug 6, 2013 at 9:06
1

It should be node--school.tpl.php for drupal 7 and node-school.tpl.php for drupal 6. And make sure to clear your cache

2
  • In addition to this, check this: drupal.org/node/1089656
    – Lance
    Aug 6, 2013 at 9:02
  • Argh it was the performance cache doing me over. Thanks again for the super fast response!
    – David
    Aug 6, 2013 at 9:05

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.