The "Add a new comment" link is currently only shown when on full node view and the comment form is on a separate page. However, it'd be helpful to show this link regardless of where the comment form is located. On a normal forum situation, there may by 50+ replies, pushing the comment form far down the page, requiring the user to scroll down a long way before they can get to the node comment form.
This patch makes this link always shown even if the comment form is on the same page (using a named anchor). This same change is made in both Advanced Forum and in Node Comment module, it'd be convenient to include the same change in core.
Note it's important to apply #371649: Link to "Add new comment" disappears once first comment is entered to be able to adequately test this in Garland.
Comment | File | Size | Author |
---|---|---|---|
comment_add_new_link.patch | 1.73 KB | quicksketch | |
Comments
Comment #1
catchNot having this link means users tend to hit 'reply' on comments themselves as a shortcut, which means you end up with unwanted/incorrect threading as a result. It's a good change, only removes one if statement. RTBC.
Comment #3
quicksketchAdding DruBB tag, this will reduce code in Advanced Forum which adds this link if it's missing, since it's an expected thing to have a link to the form no matter what.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.