Download the PHP package shoxabbos/yii2-localpages without Composer
On this page you can find all versions of the php package shoxabbos/yii2-localpages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shoxabbos/yii2-localpages
More information about shoxabbos/yii2-localpages
Files in shoxabbos/yii2-localpages
Informations about the package yii2-localpages
Create multi language static pages
Create multi language static pages
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
Run migrate
Add module to web/config
Add action to your controller (viewFile: your view file for showing pages)
For add news: http://localhost:8080/pages/page/create
For see created your post: http://localhost:8080/site/page?slug=test
If you want a nice url you can set up the URL manager:
After that, you can open the pages as:
All versions of yii2-localpages with dependencies
omgdef/yii2-multilingual-behavior Version ~2.0
zxbodya/yii2-tinymce Version *@dev
zxbodya/yii2-elfinder Version *@dev