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

tom_buytaert’s picture

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)

Eli Baskin’s picture

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).

Eli Baskin’s picture

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.

Eli Baskin’s picture

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 :) )

Eli Baskin’s picture

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).

Eli Baskin’s picture

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.