yii2-breadcrumbs-panel
Panel with Breadcrumbs. Made for my the admin panel on yii2., (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either add, (*3)
"require": {
"keygenqt/yii2-breadcrumbs-panel": "*"
}
of your composer.json
file., (*4)
Latest Release
The latest version of the module is v0.5.0 BETA
., (*5)
Usage
Layouts, (*6)
use \keygenqt\breadcrumbsPanel\BreadcrumbsPanel;
= BreadcrumbsPanel::widget([
'backLink' => false,
'homeLink' => false,
'content' => $content
]) ?>
View, (*7)
use \keygenqt\breadcrumbsPanel\BreadcrumbsPanel;
BreadcrumbsPanel::setParams([
[
'label' => 'Sample Post',
'url' => ['post/edit', 'id' => 1]
],
'Edit'
], 'fa fa-desktop');
Controller (if use back page link), (*8)
use \keygenqt\lastPage\LastPage;
class BaseController extends LastPage
{
...
License
yii2-breadcrumbs-panel is released under the BSD 3-Clause License. See the bundled LICENSE.md
for details., (*9)