yeesoft/yii2-yee-comment

Comments Module For Yee CMS

0.1.0 2017-03-01 10:56 UTC

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

'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();

Screenshots

Flickr - Yee CMS Backend Comments Module