What are the steps required to reproduce the bug?
- Click the "Add new comment" link on a node's link area.
- It will take you to http://example.com/comment/reply/*#comment-form (where * is the nid, of course). Go to the top of the page.
- Look at the page title. Here you will see the string "Reply to comment"
What behavior were you expecting?
I was expecting to see the page title depicting that I am replying to a node (eg. "Reply to article", "Reply to !nodetype" or "Reply to !title")
What happened instead?
Instead I saw the text "Reply to comment" as the page title which is not what I'm doing. I was replying to a node.
Personal theories and recommendations
Normally, users do not see this text string because we are directed to the #comment-form right away. In times that we want to read again the node we are replying, then we scroll to the top of the page to see the node's preview. That's when it becomes weird and confusing to see that I am replying to a comment. This also shows on the browser's page title.
I am assuming that this text string is also used if a user is replying to a comment. Probably we can have something like "Reply to !title" instead so we can use the same string as the page title in both scenarios.
Comments
Comment #1
johnnocChanging the text from "Reply to comment" to a more general text like "Post new comment" would be okay as well, IMO
Comment #2
Equ commentedAny progress?
Comment #3
entr3p commented+1 This something very strange and should be fixed immediately. You could also just make the text "Reply to" as the title of the node appears right under it.
Comment #4
yrre7 commentedThe page title is changed to "Reply to Comment". This is bad..
Shouldn't this be a bug?
Comment #6
Anonymous (not verified) commented#1
+1
That would be a quick one size fits all solution. Would require for translations to be updated as well.
An alternative way to go could also be:
Pseudocode:
In comment.module in modules comment folder.
Which from a usability point might be considered better.
Comment #8
shendric commentedHas there been any forward movement on this? I'd really like to know how to change this without changing the core modules.
Comment #9
jgraham commentedThis could also be addressed via hook_menu_alter() to override the existing title keeping all of the other attributes the same.
http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo...
Comment #13
Littlebob commentedAnyone know how to fix this?
Comment #14
jdvc commentedWell you could just get ride of the page title. It doesn't really seem necessary when the user gets directed to the comment for with the anchor tag. Make a module called 'custom' and
Or you could probably do something more in depth like adding a conditional or something, but I don't even think that the title is necessary.
Comment #16
Anonymous (not verified) commentedIn Drupal 7 this seems to have been changed to 'Add New Comment'.
Is this still an issue for Drupal 6?