Download the PHP package thyseus/yii2-sitecontent without Composer
On this page you can find all versions of the php package thyseus/yii2-sitecontent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thyseus/yii2-sitecontent
More information about thyseus/yii2-sitecontent
Files in thyseus/yii2-sitecontent
Package yii2-sitecontent
Short Description Tiny sitecontent system for Yii2
License GPLv3
Informations about the package yii2-sitecontent
ATTENTION:
github has been bought by Microsoft. This repository is orphaned and has been moved to:
https://gitlab.com/thyseus/yii2-sitecontent
Thanks a lot for your understanding and blame Microsoft.
Yii2-sitecontent
Very tiny and simple Sitecontent module for the Yii framework. Contains only one table where the sitecontent is stored. Uses Summernote (http://summernote.org/) WYSIWYG Editor.
Installation
Configuration
Add following lines to your main configuration file:
By default only users that apply to $user->can('admin') are allowed to access the sitecontent administation. You can modify this with the 'accessCallback' configuration option.
Routes
Use the following routes to access the sitecontent module:
- index: https://your-domain/sitecontent/sitecontent/index
- view: https://your-domain/sitecontent/sitecontent/view?id=
?lang= - view: https://your-domain/sitecontent/sitecontent/view?id=
License
Yii2-sitecontent is released under the GPLv3 License.
All versions of yii2-sitecontent with dependencies
yiisoft/yii2-bootstrap Version ^2.0.0
marqu3s/yii2-summernote Version ^1.0
karakum/yii2-grid Version ^1.0