4

Is it possible to place the comment form for a content type on a separate page? I have some teasers on the home page and since I did them using Views, I need to find a way for people to add comments to it. If I can place a link which opens another page with just the comment form then that would be great.

9

Drupal has this built in, the link you are after is comment/reply/[nid].

| improve this answer | |
  • You can also configure per content type if the comment form should be on a separate page or not. If configured so, the default add comment link will point to that separate site. – Berdir Jun 17 '11 at 9:11
8

The page at admin/structure/types/manage/[content-type] contains the option "Show reply form on the same page as comments."

screenshot

When you deselect that option, the node pages appear as in the following screenshot.

screenshot

Once you click on "Add new comment," you are redirected to comment/reply/[node-id]#comment-form, which shows the following form:

screenshot

When the option is selected, the node pages appear as in the following screenshot.

screenshot

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.