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 ?

Comments

dgautsch’s picture

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
51ucars’s picture

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.

51ucars’s picture

upgrade drupal to 6.16 and solve the problem.

gweston’s picture

I have upgraded and still have the problem. It is completely ignores the node-comment.tpl.php

crea’s picture

Status: Active » Postponed (maintainer needs more info)

I'm confused. node-comment.tpl.php is used for nodes which are comments, not which are commented.
Are you sure it doesn't work this way for you ?

crea’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

no answer

carlitus’s picture

Status: Closed (fixed) » Active

I've the same issue, the node-comment.tpl.php it's ignored. I have node.tpl.php in the same theme.

crea’s picture

Status: Active » Postponed (maintainer needs more info)

Please answer the following:
1) Which node type is commented
2) What is the nodecomment type for the above type
3) Desired behavior
4) Observed behavior

It could be a bug but we need as much info as possible to decide.

pcambra’s picture

Status: Postponed (maintainer needs more info) » Fixed

We've updated nodecomment to beta6 and this is no longer happening.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.