yeesoft / yii2-yee-comment
Comments Module For Yee CMS
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 6 562
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 6
Open Issues: 1
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 - Comments Module
####Backend module for managing comments
This module is part of Yee CMS (based on Yii2 Framework).
Comments module allows you manage comments from control panel.
Installation
- Either run
composer require --prefer-dist yeesoft/yii2-yee-comment "~0.1.0"
or add
"yeesoft/yii2-yee-comment": "~0.1.0"
to the require section of your composer.json
file.
- Run migrations
yii migrate --migrationPath=@vendor/yeesoft/yii2-yee-comment/migrations/
Configuration
-
Install and configurate Frontend Comments Module
-
In your backend config file
'modules'=>[ 'comment' => [ 'class' => 'yeesoft\comment\CommentModule', ], ],
Dashboard widget
You can use dashboard widget to display short information about recently published comments.
Add this code in your control panel dashboard to display widget:
echo \yeesoft\comment\widgets\dashboard\Comments::widget();