Hello,

Does anyone know if this module is compatible with Ajax comments?

Thank you,

Mark

Comments

nedwardss’s picture

I tried it with the current dev version of ajax comments (6.x-1.x-dev) and it would only show the new comments on a page refresh. So I guess it doesn't fully work, but it probably could be hacked.

mrgoltra’s picture

Thank you.

calte’s picture

Ajax comments throws an error when combined with this module. Have a look at #412368: array_shift error in ajax_comments.module.

cr0ss’s picture

Please, take a look for my solution:

Find this:

$block['content'] = drupal_get_form('comment_form', array('nid' => $node->nid));

at commentblock.module near by 61 line.

And change to:

$block['content'] = comment_render($node, $node->cid);

Actually this isn`t the best way as I understand and there is more flexible solution. This one, just render whole comments list(with pager, control links, etc) with a comment form.