Hi,
I am using Drupal 7.x. I have a view to list blogs and along with option to post comment to each blog.
I use the code,
$comment = new stdClass(); $comment->nid = $nid; $form = drupal_get_form("comment_node_blog_form", $comment); $content .= render($comment);
Everything works fine except that comments are always posted to the first node in the list. Something similar to this issue,
I would like to get your suggestions.