Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » comments

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 353 Views
  • richigo
    Avatar
    Community Member
    1 Post

    comments Link to this post

    Dear Silverstripe Users,

    Since a couple of weeks our website has been used by a spambot to post comments.
    I found some examples of how to disable this feature yet none of them work in version 2.4

    Which way would be best to disable this feature as we don't use this in the website at all.

    Any help would be greatly appreciated,

    best regards,

    Richard

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: comments Link to this post

    You can turn off comments on a page by page basis by unticking the 'Allow Comments' checkbox in the CMS under the pages 'Behaviour' tab. Or you can remove the $PageComments variable from themes/yourtheme/templates/layout/Page.ss as then nothing can be rendered into the page.

    353 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.