ttree / discuss
TYPO3 Neos package for Comments and Discussion in the Frontend, based on TYPO3CR (Content Repository)
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Type:typo3-flow-package
Requires
- typo3/flow: *
- typo3/typo3cr: *
This package is auto-updated.
Last update: 2024-11-26 04:46:31 UTC
README
TYPO3 Neos package to support comment in frontend.
The package is based on TYPO3CR.
Installation
Run composer require ttree/discuss
in your distribution.
Configuration
You can enable the comment form on every instance of the Page Node Type by
adding the following configuration in your NodeTypes.yaml
:
'TYPO3.Neos.NodeTypes:Page': superTypes: 'Ttree.Discuss:CommentableMixin': 'Ttree.Discuss:CommentableMixin'
After this change you need to run flow node:repair
to create the missing ContentCollection to store the document comments.
Warning: Later, if you add the Ttree.Discuss:CommentableMixin
to a new Document node type, you must run low node:repair
.
This package add a new TypoScript segment in the TYPO3.Neos:Page
:
prototype(TYPO3.Neos:Page) {
body {
parts {
comments = Ttree.Discuss:CommentFeed
}
}
}
Your are now ready to render the comments feed and the comment form in your document Fluid template:
<div class="comment-footer"> {parts.comments -> f:format.raw()} </div>
Todos
- Support to reply to a specific comment (thread)
- Add support for comment author
- Sanitize comment content (security), and add support for basic formatting
- Moderation
- Neos backend module to have a better overview of the comments activity
Acknowledgments
Development sponsored by ttree ltd - neos solution provider.
We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.
License
Licensed under GPLv3+, see LICENSE