dev-master
9999999-devDisqus module for SilverStripe CMS http://silverstripe.sk/clanky/disqus/
The Requires
- php >=5.3.2
- silverstripe/framework ~3.1
- silverstripe/cms ~3.1
disqus comments silverstripe
Disqus module for SilverStripe CMS http://silverstripe.sk/clanky/disqus/
cd /path/to/your/silverstrie/installation/ git clone git://github.com/silverstripesk/silverstripe-disqus.git disqus
composer require "silverstripesk/silverstripe-disqus:*"
create mysite/_config/comments.yml and activate for your commentable class (or Page for all pagetypes), (*1)
--- Name: mysite-comments --- BlogPost: extensions: - DisqusExtension
Build your ss installation - in browser visit following url:, (*2)
http://your-ss-installation/dev/build
In backend visit SiteConfig area, tab Disqus, place required data:, (*3)
Replace, (*4)
$PageComments
with following code, (*5)
$DisqusPageComments
if you are on some Page holder (list of pages), you can show comments count by adding:, (*6)
<% if disqusEnabled %>$disqusCountLink<% end_if %>
Check SS default Enable Page Comments Checkbox (located in Settings tab) to enable disqus comments, (*7)
Comments will be shown on all pagetypes activated in comments.yml, (*8)
If you want to help out and make some improvements please fork this project and submit a pull request (see this guide on how to do this: Pull requests)., (*9)
If silverstripe/comments module installed: sync both to have same comments on both sides, (*10)
Disqus module for SilverStripe CMS http://silverstripe.sk/clanky/disqus/
disqus comments silverstripe