2017 © Pedro Peláez
 

yii2-extension yii2-cms-settings

Yii2 settings

image

infoweb-internet-solutions/yii2-cms-settings

Yii2 settings

  • Monday, February 29, 2016
  • by infoweb-internet-solutions
  • Repository
  • 4 Watchers
  • 0 Stars
  • 445 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

CMS settings module for Yii 2

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

php composer.phar require infoweb-internet-solutions/yii2-cms-settings "*"

or add, (*3)

"infoweb-internet-solutions/yii2-cms-settings": "*"

to the require section of your composer.json file., (*4)

Usage

Once the extension is installed, simply modify your application configuration as follows:, (*5)

Your backend configuration as follows:, (*6)

return [
    ...
    'modules' => [
        'settings' => [
            'class' => 'infoweb\settings\Module'
        ],
    ],
    ...
];

Import the translations and use category 'infoweb/settings':, (*7)

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, (*8)

Configuration

All available configuration options are listed below with their default values., (*9)


allowContentDuplication (type: boolean, default: true)

If this option is set to true, the duplicateable jquery plugin is activated on all translateable attributes., (*10)


The Versions