Adds option to place comment form above the comments thread.


1. Enable module.
2. Go to your content type and set Location of comment submission form to Display below post, but before comments.
3. Check your node. If form present — celebrate, otherwise proceed to next step.
4. Paste this code to your theme's template.php file:

 * Allow themable wrapping of all comments.
function phptemplate_comment_wrapper($content, $node) {
  if (!$content || $node->type == 'forum') {
    return '<div id="comments">'. $content .'</div>';
  else {
    return '<div id="comments"><h2 class="comments">'. t('Comments') .'</h2>'. $content .'</div>';

5. Clear Drupal's cache. Check your node. Celebrate.

Caution: If your theme contains comment-wrapper.tpl.php file, do not perform step 4. Just add print $form; to this template in place where you want to see the form.

Project Information

  • Maintenance status: Unknown
  • Development status: Unknown
  • Module categories: Content Display
  • Reported installs: 107 sites currently report using this module. View usage statistics.
  • Downloads: 5,627
  • Last modified: December 2, 2014
  • shieldStable releases are covered by the security advisory policy.
    Look for the shield icon below.