dev-master
9999999-devThe Bootstrap Triangle Breadcrumbs Arrows for yii framework.
MIT
The Requires
by Moh Khoirul Anam
extension yii2 bootstrap breadcrumb button
The Bootstrap Triangle Breadcrumbs Arrows for yii framework.
The Bootstrap Triangle Breadcrumbs Arrows for yii framework., (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist 3ch3r46/bootui-breadcrumb "*"
or add, (*4)
"3ch3r46/bootui-breadcrumb": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code, replace Breadcrumb default in layout/main with code below :, (*6)
<?php use bootui\breadcrumb\Breadcrumb; echo Breadcrumb::widget([ 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], ]);
Type :, (*7)
default
or Breadcrumb::TYPE_DEFAULT
., (*8)
primary
or Breadcrumb::TYPE_PRIMARY
., (*9)
success
or Breadcrumb::TYPE_SUCCESS
., (*10)
info
or Breadcrumb::TYPE_INFO
., (*11)
warning
or Breadcrumb::TYPE_WARNING
., (*12)
danger
or Breadcrumb::TYPE_DANGER
., (*13)
Size :, (*14)
sm
or Breadcrumb::SMALL
., (*15)
lg
or Breadcrumb::LARGE
., (*16)
example:, (*17)
<?php use bootui\breadcrumb\Breadcrumb; echo Breadcrumb::widget([ 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], 'type' => Breadcrumb::TYPE_PRIMARY, 'size' => Breadcrumb::LARGE, ]);
The Bootstrap Triangle Breadcrumbs Arrows for yii framework.
MIT
extension yii2 bootstrap breadcrumb button