Currently this module only handles the node/%node page, however when comment validation occurs, user is taken to comment/reply/%node page, which falls outside the control of this module and thus has a different layout from node/%node, this is undesirable. It would be nice if this module can handle comment/reply/%node page too.

We should be able to use the same method for handling node/%node, but the problem seems to be the comment module put a lot of code into the page callback comment_reply, which included node render result in the return value. So it seems that we had to copy most of the logic in comment_reply function into this module in order to achieve this?

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Is this still an issue?

jrao’s picture

Status: Postponed (maintainer needs more info) » Active

Yes, I think so. Install latest dev version, copy bluemarine theme and enable it, modify page.tpl.php, change

    <?php if ($right) { ?><td id="sidebar-right">
      <?php print $right ?>
    </td><?php } ?>

to

    <?php if ($comments) { ?><td id="sidebar-right">
      <?php print $comments ?>
    </td><?php } ?>

Add a node, on /node/1, the comment section is now displayed at the right hand side. Try to submit comment with empty body (required) will take you to /comment/reply/1 where the comment section is still displayed under the content section