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
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

dgautsch - January 27, 2010 - 21:44

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

szrima - March 6, 2010 - 10:44

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

szrima - March 7, 2010 - 09:37

upgrade drupal to 6.16 and solve the problem.

 
 

Drupal is a registered trademark of Dries Buytaert.