diff --git a/code/sitefeatures/PageComment.php b/code/sitefeatures/PageComment.php index 02011322..1f158368 100755 --- a/code/sitefeatures/PageComment.php +++ b/code/sitefeatures/PageComment.php @@ -23,7 +23,7 @@ class PageComment extends DataObject { * @return string link to this comment. */ function Link() { - return $this->Parent()->Link(); + return $this->Parent()->Link() . '#PageComment_'. $this->ID; } diff --git a/templates/PageCommentInterface_singlecomment.ss b/templates/PageCommentInterface_singlecomment.ss index 7075bec4..b575a05b 100755 --- a/templates/PageCommentInterface_singlecomment.ss +++ b/templates/PageCommentInterface_singlecomment.ss @@ -1,4 +1,4 @@ -

$Comment.XML

+

$Comment.XML

Posted by $Name, $Created.Nice ($Created.Ago)