2017 © Pedro Peláez
 

yii2-extension yii2-blocks

Yii2 blocks to insert in templates or pages

image

profitcode/yii2-blocks

Yii2 blocks to insert in templates or pages

  • Friday, October 27, 2017
  • by cheaterBY
  • Repository
  • 1 Watchers
  • 0 Stars
  • 54 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Yii2 blocks

Yii2 blocks to insert in templates or pages, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist profitcode/yii2-blocks "*"

or add, (*4)

"profitcode/yii2-blocks": "*"

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

Usage

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

with block id, (*7)

= \profitcode\blocks\models\Block::render(1); ?>

or block system name, (*8)

```php = \profitcode\blocks\models\Block::render('block_1'); ?>, (*9)

The Versions

27/10 2017

dev-master

9999999-dev

Yii2 blocks to insert in templates or pages

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 blocks managment profitcode