定制 webfactorybulgaria/comments 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.)

  1. Make your model use Commentable trait: use \TypiCMS\Modules\Comments\Shells\Traits\Commentable;
  2. 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:

  1. Add a span like this
  2. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固