amelexik/yii2-yee-post

Post Module For Yee CMS

0.1.1 2017-04-05 14:36 UTC

README

##Yee CMS - Post Module

####Backend module for managing posts

This module is part of Yee CMS (based on Yii2 Framework).

Post module lets you easily create posts on your site.

Installation

composer require --prefer-dist yeesoft/yii2-yee-post "~0.1.0"

or add

"yeesoft/yii2-yee-post": "~0.1.0"

to the require section of your composer.json file.

  • Run migrations
yii migrate --migrationPath=@vendor/yeesoft/yii2-yee-post/migrations/

Configuration

  • In your backend config file
'modules'=>[
	'post' => [
		'class' => 'yeesoft\post\PostModule',
	],
],

Dashboard widget

You can use dashboard widget to display short information about recent activity in the module.

Add this code in your control panel dashboard to display widget:

echo \yeesoft\post\widgets\dashboard\Posts::widget();

Screenshots

Flickr - Yee CMS Post Module