I have a need to solve the general problem stated here. More specifically, I'd like to display the comment form in a place of my choosing, rather than having it baked in to the theme $content variable by the node_show() function.

There are numerous approaches outlined in that thread, and I'm not a fan of preprocess/remove as we are then rendering everything twice and just removing it from display. I liked this solution:
http://drupal.org/node/122240#comment-272809

Not easily doable in core, but comment_bonus_api takes over node_show and replaces it with our own. That allows us to do fun things like not render comments.

That's what the next patch does: adds an admin UI page for this module that allows for selective enabling/disabling of the comment form on a per node-type basis. Just visit the UI, uncheck the box, and our version of node_show will stop rendering your comments. It's up to you to then render them properly where you want them to go.

Comments

rjbrown99’s picture

Status: Active » Fixed

Commit:
http://drupalcode.org/project/comment_bonus_api.git/commit/2938c09

Be sure to clear your menu cache so you can see the new configuration page.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.