By Eli Baskin on
I've created a new content type named 'movie'. Then I created a node-movie.tpl.php in the theme directory by copying node.tpl.php. However, editing node-movie.tpl.php doesn't affect a thing. I add or remove lines, and nothing happens. I cleared the cached and even disabled it - Drupal still loads node.tpl.php and not node-movie.tpl.php.
What am I doing wrong?
Comments
did you go to the Theme
did you go to the Theme administration page?
try going to admin/build/themes, and maybe pressing on "save" again. (although just going to the Theme page should also clear the theme cache)
I tried that now. Still
I tried that now. Still nothing.
If it is of any help, I am using mpFREE theme (slightly modified CSS, but not more than that).
Tried it with a different
Tried it with a different theme - doesn't work...
Is there a module that blocks this Drupal functionality? I used to have contemplate installed, but I uninstalled it.
Interesting enough, editing
Interesting enough, editing node.tpl.php shows the changes immediately. It is as if this whole node-[type].tpl.php mechanism doesn't work... I am so frustrated... (It's late night, time to get to bed. Hope somebody will think of something :) )
Anybody? (sorry, not in a
Anybody? (sorry, not in a huge rush, but I am trying to fix this issue for a week now without success, so I am frustrated).
JESUS! I solved it. And it
JESUS!
I solved it. And it was rather stupid.
I had Display Suit module installed, which overrode my attempts to change the display. I've disabled it and voila! It all works.