mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Show a link for page comments on each page
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39684 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
475b872eb8
commit
12069c6a96
@ -81,6 +81,10 @@ class PageCommentInterface extends ViewableData {
|
|||||||
return $comments;
|
return $comments;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function CommentRssLink() {
|
||||||
|
return Director::absoluteBaseURL() . "PageComment/rss?pageid=" . $this->page->ID;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class PageCommentInterface_Form extends Form {
|
class PageCommentInterface_Form extends Form {
|
||||||
|
@ -40,6 +40,6 @@
|
|||||||
<p id="NoComments">No one has commented on this page yet.</p>
|
<p id="NoComments">No one has commented on this page yet.</p>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
<a class="commentrss" href="$CommentRssLink">RSS feed for comments on this page</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user