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.)
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
Comment #1
neochief commentedWhat module do you use to get permalinks? Or what code in theme? I need to get use case.
Comment #2
ŐRY Máté commentedD6 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"));Comment #3
neochief commentedThanks, I fixed this behaviour. You can test it in the latest dev. version. Soon it will be released as 1.7
Comment #4
ŐRY Máté commentedYour patch solved this problem, thank you very much.