nguonchhay/neosdisqus

Last activity 29 Dec 2017 2 13
composer require nguonchhay/neosdisqus

Neos CMS plugin that renders comment from Disqus

v1.0.2

Version
v1.0.2
Type
neos-plugin
Release Date
Dec 29, 2017 10:28
Source
git
Distribution
zip
Requires
  • #disqus
  • #neos
  • #comment plugin
  • #disqus comment plugin
e482f705e3ebff7431ea75ef713a77bd088f5957

Nguonchhay.NeosDisqus

This is the comment plugin for Neos base on DISQUE. Compatible with Neos >= 2.3

Installation

  • Install plugin
composer require "nguonchhay/neosdisqus:~1.0.0"
  • Add disqusEmbeddedScript property to your root page (.yaml)
disqusEmbeddedScript:
  type: string
  ui:
    label: 'Disqus embedded script link'
    reloadIfChanged: TRUE
    inspector:
      group: 'document'
      editor: Neos.Neos/Inspector/Editors/TextAreaEditor
      editorOptions:
        placeholder: 'Enter Disqus embedded script link'
        rows: 10
  • Create a Partials folder in side your Resource/Private/Page if you do not have one.

  • Copy the Disqus template and Fusion to your running site by running command below

./flow activate:disqus --site-key YOUR-RUNNING-SITE-KEY
  • Include the copied comment template into the page that you want to display
<f:render partial="Comment" arguments="{_all}" />
  • Clear cache
./flow flow:cache:flush -f

Then go to back end to add the Disqus embedded script at root page.

Note: the Disqus comments are rendered only on the LIVE environment in order to save the loading speed of back-end.

The content of the readme is provided by Github
The same vendor provides 2 package(s).