Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Comments and rss feed

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

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

Page: 1
Go to End
Author Topic: 1684 Views
  • w1
    Avatar
    Community Member
    21 Posts

    Comments and rss feed Link to this post

    "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

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Comments and rss feed Link to this post

    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

  • w1
    Avatar
    Community Member
    21 Posts

    Re: Comments and rss feed Link to this post

    thanks so much Will

    Worked a treat

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

    cheers

    1684 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.