webfactorybulgaria/comments
Composer 安装命令:
composer require webfactorybulgaria/comments
包简介
README 文档
README
Frontend
omments can be added to models with the commentable trait(ex. news, events, articles, tours etc.)
- Make your model use Commentable trait: use \TypiCMS\Modules\Comments\Shells\Traits\Commentable;
- Include this in the blade file {!! Comments::render($model) !!}. $model should be Commentable
You can select from Local, Disquss and Facebook comments
Disquss:
You have to set your short_name in the config. (make sure you copy the whole disquss section from the comments array) If you want to show the number of comments on the listing you need to:
- Add a span like this
- Add this to the bottom of the list: <script id="dsq-count-scr" src="//test-fzgboletzf.disqus.com/count.js" async></script> (more info: https://help.disqus.com/customer/portal/articles/565624)
Facebook:
If you want to moderate the comments in facebook you have to add this at the top of your show.blade @section('meta_tags') {!! Comments::getMetaTags() !!} @endsection
Backend
Comments are managed through the admin Comments tab
This module is part of Admintool4, a multilingual CMS based on Laravel 5.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-06