2017 © Pedro Peláez
 

yii2-extension yii2-block

Yii2 module for HTML blocks editing

image

muhammads92/yii2-block

Yii2 module for HTML blocks editing

  • Tuesday, September 12, 2017
  • by muhammads92
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

HTML blocks

Yii2 module for HTML blocks editing, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist muhammads92/yii2-block "*"

or add, (*4)

"muhammads92/yii2-block": "*"

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

After running, (*6)

php composer.phar update

run, (*7)

yii migrate --migrationPath=@vendor/muhammads92/yii2-block/migrations

After that change your main configuration file config/web.php, (*8)

<?php return [
    ...
    'modules' => [
        ...
        'block' => [
            'class' => 'muhammads92\block\Module',
        ],
        ...
    ],
    ...
];

Unzip ajexFileManager.zip inner to root folder (its for basic-app), (*9)

Usage

Once the extension is installed, simply use it in your code by :, (*10)

<?= \muhammads92\block\widgets\Block::widget(['code' => 'about']); ?>

The Versions

12/09 2017

dev-master

9999999-dev https://bitbucket.org/muhammads92/yii2-block

Yii2 module for HTML blocks editing

  Sources   Download

BSD-3-Clause

The Requires

 

by Muhammad Samadov

yii2 html module blocks