Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

bcgov/ckanext-bcgov-disqus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Join us on Slack

ckanext-bcgov-disqus

This extension provides disqus features on the BC Data Catalogue.

Installation

  1. Activate virtual environment, e.g.

    $ . /usr/lib/ckan/default/bin/activate
    
  2. Install the extension. Switch to ckanext-bcgov-disqus extension directory and run the following command:

    python setup.py develop
    
  3. Update config file and add the following plugins to ckan.plugins list : edc_disqus.

  4. Add edcdisqus.api_key, edcdisqus.forum_name, edcdisqus.access_token, edcdisqus.api_secret and edcdisqus.widget_api_key to the ckan.ini file using the values you get from disqus

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.