Download the PHP package mix8872/yii2-included-areas without Composer
On this page you can find all versions of the php package mix8872/yii2-included-areas. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mix8872/yii2-included-areas
More information about mix8872/yii2-included-areas
Files in mix8872/yii2-included-areas
Package yii2-included-areas
Short Description Module for create included areas in the yii2
License MIT
Informations about the package yii2-included-areas
Yii2 included areas module
This is module for creating included areas (like in the bitrix but without hermitage) in the yii2.
Management of included areas based on bs4, so you must use bs4... bs3 is dead, sorry (or you can fork this shit and do like you want).
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require
section of your composer.json
.
Usage
Edit modules
section of your application config file.
Common:
In the config you must specify directory
property. Directory named by this property
will created in your web folder (and this folder must be common between frontend and backend web folders).
After first load of the page with widget, the included areas files will be created in this folder.
Also you can create file manually in folder defined in the config, but it should be noted that widget append _inc suffix for all files
so you must create files like awesome_file_inc.php
or sometext_inc.php
.
IMPORTANT! You must specify as access
for module!
Then you must place widget in the your view file in this way:
Where:
name
- unique name of file. Widget will add_inc
suffix to your file, there way you will get the file likeyour_unique_name_of_file_inc.php
.directory
- subfolder name that will be creates in the main directory defined in the config.
After you load all pages with included areas and files will be created (or you will create files manually), you can open url \included-areas\ and manage records.
Enjoy.
All versions of yii2-included-areas with dependencies
ext-mbstring Version *
ext-intl Version *
sadovojav/yii2-ckeditor Version dev-master
conquer/codemirror Version *