Hi,
if a node has no comments on my frontpage/overview page stands "wirte a new comment" but the links shows to .../comment/reply/13#comment-form.
How could I change this to a link like "create a new comment"?
Hi,
if a node has no comments on my frontpage/overview page stands "wirte a new comment" but the links shows to .../comment/reply/13#comment-form.
How could I change this to a link like "create a new comment"?
Comments
Comment #1
neochief commentedI don't understand what do you mean. Rephrase, please.
Comment #2
IckZ commentedok:
For example node1 has no comments. The Teaser of this node is displayed on the frontpage.
Now you have under www.example.com the Teaser of the Node1 on the frontpage. Under that Teaser are the $links, including "read more" or "write a new comment".
The link "write a new comment" is the problem because it links to reply a new comment and not to write a new comment.
So ofter clicking that link under the full node stand "Reply-" and not "Write-" a new comment.
Comment #3
neochief commentedWell, it's not related to AJAX Comments, but anyway I can suggest you to look to the hook_link_alter(). By overriding this hook, you can change links behaviour and look. Comments implementation of this hook is in comments.module.