Thanks for Node comment!
My nodecomment cck content type is working as expected, except the tpl file in my theme folder is not effecting the output. This was true when I used the default comment content type, and also now that I have made a duplicate renamed one. For example, the default tpl uses span class="submitted", but my source shows a div with that class. As a matter of fact, I can actually delete the renamed tpl file from my theme folder, and even delete node-comment.tpl (when I was using "comment") from the module folder, and all still works fine!
I followed these steps:
- Disabled core comments.
- Created a cck content type like the default nodecomment one, renamed.
- Placed node-NEWNAME.tpl.php in my themes folder.
- For the content type I'm using it with (book), I've chosen my custom content type for "Node type for comments" and chosen "nodecomments" for "Comment view".
- Kept view nodecomments at default settings.
- cleared the cache.
Comments
Comment #1
zroger commenteddo you have a node.tpl.php in your theme folder? the base template is necessary in order for phptemplate to pick up any additional "suggested" templates.
Comment #2
quicksketchMarking closed after lack of response.