Hi,

After enabling this module, Preview of comments were not working and I see two comment forms appearing on the page.

The comment form was set to appear below the post but above the comments.

For the preview problem, the fix suggested here - http://drupal.org/node/541506 - worked but I still have the problem with two comment forms appearing.

Anyone else have this problem?

Thanks

Comments

phl3tch’s picture

I've got the two forms issue...

RuSS-2’s picture

Hi! I've got the same problem

wils.solutions’s picture

hey,

I have the same problem =(

bkloef’s picture

I was seeing two comment forms as well... When a content type was set to display the comment submission form below the post or comments I was getting two forms - one above the comments and one below. When a content type was set to show the form below the post, but before the comments, I was only (correctly) seeing the form above the comments. Basically, if I wanted the form displayed, CFAC was ALWAYS adding the form above, regardless of which setting I chose.

I found a fix that worked for me. In the function comment_form_above_comments_comment_wrapper, I replaced:

  $output = comment_form_box(array('nid' => $node->nid), t('Post new comment'));

with:

  global $conf;
  if ($conf['comment_form_location_'.$node->type] == COMMENT_FORM_ABOVE) {
    $output = comment_form_box(array('nid' => $node->nid), t('Post new comment'));
  }

It's just one last check before adding the form above. I wonder if this is a good check to run regardless of if someone is seeing superfluous form display? I haven't done any experimentation to find the cause of the problem (I have many modules enabled and am running out of time on my current project).

Since this is my first ever post on d.o I don't feel comfortable calling it a patch, but I hope this helps someone else.

ibworldacademy’s picture

Issue summary: View changes

Same problem i am facing in my website http://www.ibworldacademy.com . Please guide me for this two form issue.