as said in docs "Out of the box the module adds commenting support to all pages on your site. This functionality can be turned on and off on a per page basis in the CMS under the `Behaviour` tab for a given page. Once the `Allow Comments` checkbox is ticked, republish and view the webpage.
" but i cant find any 'allow comments' 'checkbox'. i tried to reinstall plugin 3 times but its not coming up there..
We've moved the forum!
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.
Hi N!ck,
Have you had a look over the configuration document?
https://github.com/silverstripe/silverstripe-comments/blob/master/docs/en/Configuration.md
You may need to add the following to your config.yml file:
SiteTree:
extensions:
- CommentsExtension
You can require login with the example below:
SiteTree:
extensions:
- CommentsExtension
comments:
require_login: true
Then simply "/dev/build?flush=1"
-helenclarko
Hey, helenclarko thanks it's working now. I have one more question how do I change admin URL? I found some StackOverflow questions, but they say that admin URL is hard coded in multiple files so I tried htaccess mod_rewrite *.htaccess file in root dir*
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)admin\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)admin$ [OR]
RewriteCond %{REMOTE_ADDR} !^192.168.1.102$ /* my ip */
RewriteRule ^(.*)$ - [R=404,L]
</IfModule>
but by this way only 'mysite.com/admin' gets blocked if i enter 'mysite.com/admin/' or 'admin/pages' i redirect to 'admin/pages/'
so how do i block every url under admin/?
or is there anyway to change the admin url?
Hi N!ck,
You may have already looked at this:
http://stackoverflow.com/questions/24125655/how-can-i-change-the-admin-path-in-silverstripe-3-1-x
This may actually work fine in SS 3.2, as reports are now a standalone addon and likely not hardcoded any longer.
-helenclarko