2017 © Pedro Peláez
 

cakephp-plugin adminlte

CakePHP 3.x AdminLTE Theme. Based on maiconpinto/cakephp-adminlte-theme.

image

dejw-cake/adminlte

CakePHP 3.x AdminLTE Theme. Based on maiconpinto/cakephp-adminlte-theme.

  • Saturday, September 23, 2017
  • by dejwCake
  • Repository
  • 0 Watchers
  • 0 Stars
  • 3 Installations
  • JavaScript
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Stories in Ready, (*1)

CakePHP AdminLTE Theme

Installation

You can install using composer., (*2)

composer require dejw-cake/adminlte

Enable Plugin

// config/bootstrap.php

Plugin::load('DejwCake/AdminLTE', ['bootstrap' => true, 'routes' => true]);

Enable theme

// src/Controller/AppController.php

public function beforeRender(Event $event)
{
    $this->viewBuilder()->setTheme('DejwCake/AdminLTE');
}

Enable Form

// src/View/AppView.php

public function initialize()
{
    $this->loadHelper('Form', ['className' => 'DejwCake/AdminLTE.Form']);
}

Configure

// 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'
]);

The Versions

23/09 2017

dev-master

9999999-dev

CakePHP 3.x AdminLTE Theme. Based on maiconpinto/cakephp-adminlte-theme.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin cakephp templates