infoweb-internet-solutions/yii2-cms-settings
最新稳定版本:2.0.1
Composer 安装命令:
composer require infoweb-internet-solutions/yii2-cms-settings
包简介
Yii2 settings
README 文档
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require infoweb-internet-solutions/yii2-cms-settings "*"
or add
"infoweb-internet-solutions/yii2-cms-settings": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply modify your application configuration as follows:
Your backend configuration as follows:
return [ ... 'modules' => [ 'settings' => [ 'class' => 'infoweb\settings\Module' ], ], ... ];
Import the translations and use category 'infoweb/settings':
yii i18n/import @infoweb/settings/messages
To use the module, execute yii migration
yii migrate/up --migrationPath=@vendor/infoweb-internet-solutions/yii2-cms-settings/migrations
Configuration
-------------
All available configuration options are listed below with their default values.
___
##### allowContentDuplication (type: `boolean`, default: `true`)
If this option is set to `true`, the `duplicateable` jquery plugin is activated on all translateable attributes.
___
统计信息
- 总下载量: 450
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-05