|Status:||closed (won't fix)|
Running Drupal 6.4 with zen and a custom subtheme.
Site layout is as follows:
/var/www/ -- Drupal Root
/var/www/sites/all/themes/zen/zen/ -- Zen theme folder
/var/www/sites/default/themes/custom/ -- Custom subtheme folder
Created a custom node type called news_filter and created a single node of that type.
Created a theme template file called node-news_filter.tpl.php in my subtheme folder. Then restarted the webserver, cleared the cache via admin/settings/performance page, and refreshed the page view of the node.
The template did not take effect.
Moved the theme template file to the Zen theme folder and restarted/cleared/refreshed as above.
The template took effect.
Moved the theme template file back to the custom folder, cleared cache, stopped the webserver, and restarted it under strace, then refreshed the page view.
According to the trace file, the following file locations were searched, in order:
According to the Zen documentation, the proper way to override theme templates is to create template files in your subtheme folder. This clearly contradicts the observed behavior.
So is the documentation wrong, or is the code wrong?
Do I have to edit my subtheme's template.php?