yeesoft / yii2-yee-comment
Yee CMS 评论模块
0.1.0
2017-03-01 10:56 UTC
Requires
- yeesoft/yii2-comments: ~0.1.0
- yeesoft/yii2-yee-core: ~0.1.0
This package is auto-updated.
Last update: 2022-03-29 00:33:40 UTC
README
##Yee CMS - 评论模块
####评论管理后端模块
此模块是 Yee CMS(基于 Yii2 框架)的一部分。
评论模块允许您从控制面板管理评论。
安装
- 运行以下命令之一
composer require --prefer-dist yeesoft/yii2-yee-comment "~0.1.0"
或者
"yeesoft/yii2-yee-comment": "~0.1.0"
将以下内容添加到您的 composer.json
文件的 require 部分。
- 运行迁移
yii migrate --migrationPath=@vendor/yeesoft/yii2-yee-comment/migrations/
配置
-
安装并配置 前端评论模块
-
在您的后端配置文件中
'modules'=>[ 'comment' => [ 'class' => 'yeesoft\comment\CommentModule', ], ],
仪表盘小部件
您可以使用仪表盘小部件显示最近发布的评论的简要信息。
将此代码添加到您的控制面板仪表盘以显示小部件
echo \yeesoft\comment\widgets\dashboard\Comments::widget();