abdualiym/yii2-block

Yii2 content block extension

Installs: 16

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.7 2019-05-11 13:26 UTC

README

The extension allows manage html content block.

Installation

  • Install with composer:
composer require abdualiym/yii2-block
  • After composer install run console command for create tables:
php yii migrate/up --migrationPath=@vendor/abdualiym/yii2-block/migrations
  • Setup in common config storage and language configurations
'modules' => [
    'block' => [
        'class' => '@abdualiym\block\Module',
        'storageRoot' => $params['staticPath'],
        'storageHost' => $params['staticHostInfo'],
        'languages' => [
            0 => 'Русский', // default language
            1 => 'English',
            2 => 'O`zbek tili',
        ]
    ],
],