dev-master
9999999-devYii2 blocks to insert in templates or pages
BSD-3-Clause
The Requires
extension yii2 blocks managment profitcode
Yii2 blocks to insert in templates or pages
Yii2 blocks to insert in templates or pages, (*1)
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)
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)
Yii2 blocks to insert in templates or pages
BSD-3-Clause
extension yii2 blocks managment profitcode