In drupal5 i had successfully created themes depending on the node types like node-inner.tpl.php for page-inner.tpl.php or node-blog.tpl.php for page-blog.tpl.php.
But In Drupal 6 I am not able to attach node-blog.tpl.php to page-blog.tpl.php. i.e. whenever i call http://mysite.com/blog It calls page-blog.tpl.php but dont use node-blog.tpl.php.
I made a check weather node.tpl.php would be used for page-blog.tpl.php but surprised to know that even node.tpl.php is also not used for page-blog.tpl.php.
Even go a step ahead and checked the node.tpl.php file of node module( the default file ) but again surprisingly the blog page doesnt use it.
Also applied the traditional criteria of clearing cache or installing the theme but no success yet.
plz tell me what i am missing.
Comments
Same Issue here - anyone?
Same Issue here - anyone?
make sure you also have a
make sure you also have a node.tpl.php file in your theme folder. I discovered that node-blog.tpl.php wouldn't work without it.
and make sure you are also calling $content in your node-blog.tpl.php file