Skip to content

Releases: yii2mod/yii2-settings

1.10 Release

10 Nov 18:44
Compare
Choose a tag to compare

Changelog

  • Rename 'settingSearchClass' to 'searchClass', 'settingModelClass' to 'modelClass', update README.

1.9 Release

10 Nov 17:31
Compare
Choose a tag to compare

Changelog

  • Enh 94027d8 : rename setting search class, add additional properties to DefaultController

Now you can override views files, setting model class and setting search class in the following way:

'admin' => [
    'modules' => [
        'settings' => [
            'class' => 'yii2mod\settings\Module',
            // Some controller properties maybe need to change.
            'controllerMap' => [
                'default' => [
                    'class' => 'yii2mod\settings\controllers\DefaultController',
                    'indexView' => 'custom path to index view file',
                    'createView' => 'custom path to create view file',
                    'updateView' => 'custom path to update view file',
                    'settingSearchClass' => 'Your own search model class',
                    'settingModelClass' => 'Your own setting model class',
                ]
            ]
        ],
    ],
]

1.8.1 Release

09 Nov 15:15
Compare
Choose a tag to compare

Changelog

1.8 Release

09 Nov 10:49
Compare
Choose a tag to compare
  1. Rename table from Setting to setting

To apply this changes please execute the new migration by the following command:

$ php yii migrate --migrationPath=@vendor/yii2mod/yii2-settings/migrations

1.7 Release

01 Nov 10:59
Compare
Choose a tag to compare

Date: November, 1, 2016

  1. Added removeAll method to Setting component

1.6 Release

03 Aug 17:02
Compare
Choose a tag to compare

Date: Wednesday, August 3, 2016

  1. Update search model
  2. Delete id column from gridview

1.5 Release

25 Jul 16:06
Compare
Choose a tag to compare

Date: Monday, July 25, 2016

  1. Update init migration
  2. Update docs
  3. Add translation for uk language
  4. Update composer.json

1.4 Release

20 Jul 10:43
Compare
Choose a tag to compare

Date: Wednesday, July 20, 2016

  1. Add activate and deactivate methods to the Setting component, code example:
// Deactivates a setting
$settings->deactivate('section', 'key');

// Removes a setting
$settings->remove('section', 'key');
  1. Update docs and tests

1.3 Release

14 Jul 13:35
Compare
Choose a tag to compare

Date: Thursday, July 14, 2016

  1. Add has function for the checking existence of setting
  2. Update tests

1.2 Release

14 Jul 12:16
Compare
Choose a tag to compare

Date: Thursday, July 14, 2016

  1. Add translations: en, ru
  2. Update docs