Hi,<div><br></div><div>I am using Drupal 7.x. I have a view to list blogs and along with option to post comment to each blog.</div><div><br></div><div>I use the code,</div><div><br clear="all"><div><div>    $comment = new stdClass();</div>
<div>    $comment-&gt;nid = $nid; </div><div>    $form = drupal_get_form(&quot;comment_node_blog_form&quot;,  $comment);</div></div><div>    $content .= render($comment);</div><div><br></div><div>Everything works fine except that comments are always posted to the first node in the list. Something similar to this issue,</div>
<div><br></div><div><a href="http://drupal.org/node/541884">http://drupal.org/node/541884</a></div><div><br></div><div>I would like to get your suggestions.</div><div><br></div>-- <br>Regards,<br>Selvam<br><div>KnackForge Soft Solutions Pvt. Ltd.</div>
<div><a href="http://knackforge.com/node/54" style="color:rgb(17,85,204)" target="_blank">Acquia Service Partner</a></div><div><div>No. 1, 12th Line, K.K. Road, Venkatapuram,</div><div>Opposite to M.B Jewellery,</div><div>
Ambattur, Chennai,</div><div>Tamil Nadu, India - 600 053.</div></div><br>
</div>