infoweb-internet-solutions / yii2-cms-settings
Yii2 settings
Installs: 450
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 3
Open Issues: 0
Type:yii2-extension
Requires
- 2amigos/yii2-translateable-behavior: @stable
- infoweb-internet-solutions/yii2-cms: @stable
- kartik-v/yii2-grid: @stable
- kartik-v/yii2-widgets: @stable
- yiisoft/yii2: @stable
This package is not auto-updated.
Last update: 2024-12-21 17:12:13 UTC
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.
___