Can someone please tell me how to turn on page comments for moderating? I do have the blog module installed and enhanced blog module as well. Working with SS3.1
Much thanks for hopefully a speedy answer :)
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Can someone please tell me how to turn on page comments for moderating? I do have the blog module installed and enhanced blog module as well. Working with SS3.1
Much thanks for hopefully a speedy answer :)
I found the answer and did some learning in the process, but it took me 5 days so wanted to post the answer in hope it will help others.
Where did I find the answer? In the config file there was this comment: To see all the configuration options read docs/en/Configuration.md or consult the Commenting class.
I didn't know to look there. Would have been nice to have that in the Readme file :) I know where to look for additional help next time.
So the solution was adding this to mysite/_config.php
// Sets require_moderation to true for all pages
Commenting::set_config_value('SiteTree', 'require_moderation', true);
// mysite/_config.php - Returns the setting
Commenting::get_config_value('SiteTree', 'require_moderation');
Hope this helps someone else.