Download the PHP package stepancher/yii2-content-module without Composer
On this page you can find all versions of the php package stepancher/yii2-content-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download stepancher/yii2-content-module
More information about stepancher/yii2-content-module
Files in stepancher/yii2-content-module
Download stepancher/yii2-content-module
More information about stepancher/yii2-content-module
Files in stepancher/yii2-content-module
Please rate this library. Is it a good library?
Informations about the package yii2-content-module
Yii 2 Content
Yii 2 Content - Контент модуль реализующий добавление статей на сайт
Features
- Easy install
- Work with seo tags
- Work with images
- Tree
Installation
Используя композер
php composer.phar require --prefer-dist stepancher/yii2-content-module "*"
-
Запустить миграции php yii migrate --migrationPath=@vendor/stepancher/yii2-content-module/migrations
- Подключить в common/config/main.php
'modules' => [ 'content' => [ 'class' => 'stepancher\content\Content', 'imageDir' => "@app/../upload/content", // Image for upload files 'imageUrl' => "/upload/content" // Url to images ], ],
- Создать роуты во фронтенде, что то вроде по первому url будет список всех статей, по второму отдельная статья
'articles'=>'content/default/list',
'articles/
'=>'content/default/show', - Создать роуты в бэкенде
'content' =>'content/admin',
'content/
'=>'content/admin/ ', - Раздать права пользователю или роли на просмотр и редактирование статей
All versions of yii2-content-module with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
vova07/yii2-imperavi-widget Version *
vova07/yii2-fileapi-widget Version dev-master
kartik-v/yii2-widget-datetimepicker Version *
vova07/yii2-imperavi-widget Version *
vova07/yii2-fileapi-widget Version dev-master
kartik-v/yii2-widget-datetimepicker Version *
The package stepancher/yii2-content-module contains the following files
Loading the files please wait ...