nguonchhay/neosdisqus
composer require nguonchhay/neosdisqus
Neos CMS plugin that renders comment from Disqus
v1.0.2
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 yourResource/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 same vendor provides 2 package(s).