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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Blog Module comments showing in number even when not yet moderated

Go to End



Community Member, 5 Posts

9 November 2013 at 1:55pm

I am developing a SS3.1.1 site with the blog, widget and comments modules installed. I have turned on comment moderation in my _config.php file. A comment submitted does go into the "Needs Moderation" section of the CMS, but the $Comments.Count in the template is indicating there is a comment, even though it hasn't been moderated yet and is not visible on the front-end. Please see attached screen shot showing that there is one comment on the blog post at the same time that it says that no one has yet commented on this entry.

How can I make it so that the $Comments.Count only shows the actual number of moderated comments, rather than all submitted comments?