dev-master
9999999-devCakePHP 3.x AdminLTE Theme. Based on maiconpinto/cakephp-adminlte-theme.
MIT
The Requires
- php >=5.5.9
- cakephp/cakephp >=3.3.2 <4.0.0
The Development Requires
by Maicon Pinto
by David Běhal
plugin cakephp templates
CakePHP 3.x AdminLTE Theme. Based on maiconpinto/cakephp-adminlte-theme.
You can install using composer., (*2)
composer require dejw-cake/adminlte
// config/bootstrap.php Plugin::load('DejwCake/AdminLTE', ['bootstrap' => true, 'routes' => true]);
// src/Controller/AppController.php public function beforeRender(Event $event) { $this->viewBuilder()->setTheme('DejwCake/AdminLTE'); }
// src/View/AppView.php public function initialize() { $this->loadHelper('Form', ['className' => 'DejwCake/AdminLTE.Form']); }
// src/Controller/AppController.php use Cake\Core\Configure; public function beforeRender(Event $event) { // ... $this->set('theme', Configure::read('Theme')); }
// To customize configuration paste it at end of file config/bootstrap.php Configure::write('Theme.title', 'CMS'); Configure::write('Theme.logo', [ 'mini' => 'CMS', 'large' => 'CMS' ]);
CakePHP 3.x AdminLTE Theme. Based on maiconpinto/cakephp-adminlte-theme.
MIT
plugin cakephp templates