I have have comments shown on the node page with the comment form at the bottom of the page.
Comments have a pager.
When I submit a new comment it it shown below the pager.
Would it be possible to insert it above the pager?

Fantastic module, btw!!!

thanks
UWE

Comments

adammalone’s picture

Title: new comments posted below the pager » new comments posted below the pager [patch attached]
Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new1.22 KB

Not the cleanest of patches as it does omit the invisible element output directly above the pager - however this one will allow the comment to appear above the pager.

At worst it should give people a starting point!

ttkaminski’s picture

StatusFileSize
new663 bytes

Try this patch. It places it after the last ajax-comment-wrapper div.

mototribe’s picture

Thanks! The #2 patch does place the comment above the pager.
However, if you add a comment on the first page of comments it now won't show up after posting the comment.

ttkaminski’s picture

StatusFileSize
new931 bytes

This patch checks if the comment count is zero, is so, then appends to the wrapper div.

adammalone’s picture

Status: Needs review » Reviewed & tested by the community

Looks good

muschpusch’s picture

Status: Reviewed & tested by the community » Closed (fixed)

thanks! Committed to dev!