Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Comments and rss feed


Reply


3 Posts   1714 Views

Avatar
w1

Community Member, 21 Posts

26 November 2008 at 3:44pm

"RSS feed for comments on this page" in a comments page

How can the above be removed please?. If the comment has not yet been approved, the rss feed page still shows the comment

thanks
Peter

Avatar
Willr

Forum Moderator, 5513 Posts

26 November 2008 at 6:47pm

To remove the link the best way to to copy the file - cms/templates/PageCommentInterface.ss to themes/your_theme/templates/ and remove the line from that, its about line 49. Remove that then revisit your page and make sure you append ?flush=1 to it eg - yoursite.com/?flush=1

The moving is required as if you changed it in the cms folder then the change will be reverted when you next upgrade your silverstripe version.

As for the RSS feed showing unmoderated comments you might wish to raise this as a ticket on open.silverstripe.com

Avatar
w1

Community Member, 21 Posts

27 November 2008 at 2:19pm

Edited: 27/11/2008 3:01pm

thanks so much Will

Worked a treat

I checked a 2.2.3 installation and the rss is not displaying unapproved comments.

cheers