I have inserted comment form to my custom node.tpl
via print drupal_render(drupal_get_form("comment_node_{$node->type}_form", (object) array('nid' => $node->nid)));
. It works fine, but form isn't submitted when I click on Save
button. It submits the data correctly to comment/reply/<nid>
, but data aren't saved correctly and I'm only redirected back to node page.
I'm using current D7.