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

neochief’s picture

I don't understand what do you mean. Rephrase, please.

IckZ’s picture

ok:
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.

neochief’s picture

Status: Active » Fixed

Well, 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.