ttree/discuss
最新稳定版本:0.1.1
Composer 安装命令:
composer require ttree/discuss
包简介
TYPO3 Neos package for Comments and Discussion in the Frontend, based on TYPO3CR (Content Repository)
README 文档
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
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-04-20