If I post a reply with ajax_comments, the displayed permalink (if exists) is broken by default.

(It's quite common for me to write a reply and post its permalink on irc.)

Comments

neochief’s picture

Status: Active » Postponed (maintainer needs more info)

What module do you use to get permalinks? Or what code in theme? I need to get use case.

ŐRY Máté’s picture

D6 comes with this default $title variable in comment.tpl.php, and also uses it by default (see comment.tpl.php).

modules/comment/comment.module line 1690

$variables['title'] = l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid"));

neochief’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks, I fixed this behaviour. You can test it in the latest dev. version. Soon it will be released as 1.7

ŐRY Máté’s picture

Your patch solved this problem, thank you very much.

Status: Fixed » Closed (fixed)

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