This is an extremely strange problem I've never seen before. Two of my CCK content types "event" and "video" have all of a sudden without any warning started using node.tpl.php instead of node-event.tpl.php and node-video.tpl.php. My other content types are working properly.

Everything was working fine yesterday, then today without any reason whatsoever it just stopped working. I tried messing around with the file permissions, deleting and re-creating, but it hasn't worked.

Has anyone come across a problem like this before? Any suggestions?

An example of my event not using node-event.tpl.php
http://www.inokeerrati.com/shows/some_big_ass_show

Comments

cog.rusty’s picture

Could these template files have become unreadable by apache, that is, chmoded to something less than 644?

arvinsingla’s picture

Looks like it had nothing to do with the files at all. Somehow the latest head version of the Audio module was causing strange behavior. I did a print_r($node) on the affected nodes and for some reason the type was being set to Audio for all of of them, and since I don't have a node-audio.tpl.php is was using the regular node.tpl.php.. So I've reverted to an old backup with the current stable version of audio module and all is well.

---------------------------------------------------------------------
"I am a very model of a modern major general"
http://www.wiiliketopodcast.com

---------------------------------------------------------------------
"I am a very model of a modern major general"
http://www.arvinsingla.com