execut/yii2-cms

Yii2 eXeCUT CMS

Installs: 335

Dependents: 1

Suggesters: 0

Security: 0

Stars: 10

Watchers: 3

Forks: 2

Open Issues: 0

Type:yii2-extension

0.10.14 2020-11-17 15:15 UTC

README

Warning! Beta version. Please add tasks here if you find errors. I will try to fix them quickly

CMS, based on Yii2 modular system and extension yii2-crud-fields. All system modules are standalone Yii2 modules and can be used separately from CMS.

List of system features and modules:

Supported databases:

  • PostgreSQL
  • MySQL

Installation

The easiest installation method is to install over of a yiisoft/yii2-app-advanced based application. To install Yii2 CMS into your project, you need to take only three steps:

  1. Connect the CMS package
    1. If you have an existing project, you can connect the package by running the command composer require execut/yii2-cms.
    2. If you are going to deploy Yii2 CMS on a new application, you can install a prepared project-template execut/yii2-cms-advanced-template. Installation instructions here.
  2. Apply migrations ./yii migrate/up --interactive 0
  3. Create an admin user with the command ./yii cms/users/create-admin admin password email@example.com, where: admin - login, password - password, email@example.com - user email

Usage

If you used standard layers layouts/main.php in the in backend and frontend applications, then after installing the CMS, they should be redefined. All CMS content is displayed in these layers. If this did not happen, then you are using non-standard layers, and the CMS did not reassign them, thinking that you want to use your own. To use custom layer, you need to display all the elements for the CMS to work in it in the likeness of these two: frontend.php and backend.php.

The backend application should start displaying sections and a menu should appear: i/backend-pages.jpg

In this case, the frontend application should show pages along with the menu: i/backend-pages.jpg