If you want to display comment in separate page, then you need to configure comment form be display in new page.
Comment setting for the Content type:
- Go to Administration -> Structure -> Content type
- Edit your content type.
- Unchecked check-box "Show reply form on the same page as comments" under "Comment settings" section and save the form.
Now, you can add
www.example.com/comment/reply/[nid]#comment-form link in your code to link comment in separate page.
Kindly see that
[nid] is your node id.
If you have added "Rating" to comment, then it will also display in same page.
Adding Rating(five star) field to comment section:
- Go to
Administration -> Structure -> Content types
- Click on
Manage fields link in row of your content type and it will redirect you to
fields settings page for your content type.
- Click on
comments fields link in top of page and you can manage the field for comment section.
- Add new field of
fivestar rating field type in comment.
Voting target should be
parent node in field configuration for your
fivestar rating field.