nguonchhay / neosdisqus
Neos CMS plugin that renders comment from Disqus
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
Type:neos-plugin
Requires
- neos/flow: *
This package is not auto-updated.
Last update: 2022-08-14 22:22:57 UTC
README
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.