node-comment.tpl.php being ignored?
boran - January 11, 2010 - 13:43
| Project: | Node comments |
| Version: | 6.x-2.0-beta2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
Nodecomment is installed, the story content type has been configured to use it, and I can post a comment. But the comment is not showing up at the bottom of the page.
node-comment.tpl.php is in the theme directory, but I suspect the them is ignoring it.
The Theme (Aquia marine) already had a comment-wrapper.tpl.php and comment.tpl.php.
How does node-comment.tpl.php get called during display? It is because of the node-CONTENTTYPE.tpl automation - but that would make little sense because the actualy node we are trying to display is of type "story".
Could it be because Aquaia Marina has a function phptemplate_preprocess_comment_wrapper() in template.php ?

#1
I've got the same issue. It completely ignores the node-comment.tpl.php. Even more disconcerting is when you drop in a node.tpl.php with a node-comment.tpl.php in the same template folder, you get this error:
Fatal error: Unsupported operand types in C:\xampp\htdocs\commerce\includes\common.inc on line 1582#2
same issue.
and get the warning
user warning: Unknown column 'u.signature_format' in 'field list' query: SELECT nc.*, u.signature, u.signature_format FROM node_comments nc INNER JOIN users u ON nc.uid=u.uid WHERE nc.cid = 41 in ...l\sites\all\modules\nodecomment\nodecomment.module on line 533.
#3
upgrade drupal to 6.16 and solve the problem.