Git Product home page Git Product logo

orchard.cw.disqus's Introduction

Orchard.Cw.Disqus

This Orchard module enables you to integrate with the Disqus comments system. The latest version is compatible with Orchard 1.10+ only, for older versions checkout the release history.

##Features

  • Attachable DisqusPart to add disqus comments to any content type
  • Admin Settings for setting your disqus account shortname

Authors

orchard.cw.disqus's People

Contributors

bartlannoeye avatar carlwoodhouse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lombiq

orchard.cw.disqus's Issues

Add setting to toggle comments on/off per content item

At the moment if you attach this to a content item (for example BlogPost) it will be displayed for every blog post no matter what.

With the built in comments system you can opt-out on a per blog post basis with a checkbox.

Using content item ID as page identifier

Since Disqus is loaded via a content part I think it would be useful to use the content item's ID as page.identifier in a configuration block (see below). This would allow displaying the same comment thread even if the site is e.g. run locally from a production snapshot.

Maybe it would be also good to use the content item's DisplayUrl as page.url for a similar reason.

Also see: https://help.disqus.com/customer/en/portal/articles/2158629

    var disqus_config = function () {
        this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
        this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
    };

Documentation - How to Install?

I have installed it by putting it into Module directory and then enabling it from "Modules" secction of the dashboard. I have set my short name. However, I am getting the mentioned error..

We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.