2017 © Pedro Peláez
 

yii2-extension bootui-breadcrumb

The Bootstrap Triangle Breadcrumbs Arrows for yii framework.

image

3ch3r46/bootui-breadcrumb

The Bootstrap Triangle Breadcrumbs Arrows for yii framework.

  • Thursday, June 12, 2014
  • by 3ch3r46
  • Repository
  • 0 Watchers
  • 0 Stars
  • 3 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

3ch3r46/bootui-breadcrumb

The Bootstrap Triangle Breadcrumbs Arrows for yii framework., (*1)

Installation

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)

Usage

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'] : [],
]);

Property Type and Size

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 Versions

12/06 2014

dev-master

9999999-dev

The Bootstrap Triangle Breadcrumbs Arrows for yii framework.

  Sources   Download

MIT

The Requires

 

by Moh Khoirul Anam

extension yii2 bootstrap breadcrumb button