ckanext-bcgov-disqus
ARCHIVED - This repository was archived by the owner on Apr 20, 2020. It is now read-only.
This extension provides disqus features on the BC Data Catalogue.
Installation
Activate virtual environment:
$ . /usr/lib/ckan/default/bin/activate
Install the extension. Switch to ckanext-bcgov-disqus extension directory and run:
python setup.py develop
Update config file and add the following plugins to ckan.plugins list: edc_disqus.
Add the following to the ckan.ini file using the values you get from disqus:
- edcdisqus.api_key
- edcdisqus.forum_name
- edcdisqus.access_token
- edcdisqus.api_secret
- edcdisqus.widget_api_key
Usage
This follows the same scheme as other CKAN plugins and requires you to add it to pages using:
h.comments_block()
Additionally you can (and should) override the disclaimer by extending templates/package/comments_block.html
Original Repo Copyright 2018, Province of British Columbia.