2017 © Pedro Peláez
 

yii2-extension yii2-sbadmin

SB Admin 2 template for Yii2

image

simple-projects/yii2-sbadmin

SB Admin 2 template for Yii2

  • Tuesday, April 12, 2016
  • by simple-projects
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 40 % Grown

The README.md

SB admin extention for Yii2

Implementation of SB Admin2 theme. This is very initial verson., (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist simple-projects/yii2-sbadmin "*"

or add, (*4)

"simple-projects/yii2-sbadmin": "*"

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

Usage

Once the extension is installed, you have two ways to use it :, (*6)

Good Way

Put in section components in your main config file Path Map configuration, (*7)

'view' => [
            'theme' => [
                'pathMap' => [
                    '@app/views/layouts' => '@vendor/simple-projects/yii2-sbadmin/views/layouts'
                ],
            ],
        ],

So your new layout is done. For customizing top and left menu in your layout folder, you should create the files: _left_navigation.php, (*8)

_top_navigation.php, (*9)

You can get the structure of the menus from /vendor/simple-projects/yii2-sbadmin/views/layouts directory., (*10)

Antoher Way

You can copy files from /vendor/simple-projects/yii2-sbadmin/views/layouts to your layouts directory. Note: they wouldn't be updated if there is new version., (*11)

The Versions

12/04 2016

dev-master

9999999-dev

SB Admin 2 template for Yii2

  Sources   Download

GPL2

The Requires

 

by Atanas Mavrov

template extension yii2 sb2