2017 © Pedro Peláez
 

cakephp-plugin cake-3-admin-theme

AdminTheme plugin for CakePHP

image

falco442/cake-3-admin-theme

AdminTheme plugin for CakePHP

  • Thursday, November 10, 2016
  • by falco442
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 9 % Grown

The README.md

AdminTheme plugin for CakePHP

This plugin is a theme for CakePHP 3 based on the Sbadmin 2 Bootstrap theme., (*1)

Installation

You can install this plugin into your CakePHP application using composer., (*2)

The recommended way to install composer packages is:, (*3)

composer require falco442/cake-3-admin-theme

then activate the plugin in src/config/bootstrap.php, (*4)

Plugin::load('AdminTheme',['bootstrap'=>true]);

Form helper

Activate this theme's Form Helper by adding it in src/View/AppView.php, (*5)

    public function initialize(){
        ...
        $this->loadHelper('AdminTheme.Form');
        $this->loadHelper('AdminTheme.Sidebar',[
            'sideLinks'=>[
                [
                    'label'=>'Users',
                    'icon'=>'fa-user',
                    'sons'=>[
                        [
                            'label'=>'List',
                            'url'=>['controller'=>'users','action'=>'index'],
                        ],
                        [
                            'label'=>'Add',
                            'url'=>['controller'=>'users','action'=>'add'],
                        ]
                    ]
                ],
                [
                    'label'=>'Stores',
                    'icon'=>'fa-store',
                    'sons'=>[
                        [
                            'url'=>['controller'=>'stores','action'=>'index'],
                            'label'=>'List'
                        ]
                    ]
                ]
            ]
        ]);
        ...
    }

Bake

This plugin includes a template for bake. You can bake your views using, (*6)

cd cake-root/bin && ./cake bake views --theme=AdminTheme [ModelName]

or, (*7)

cd cake-root/bin && ./cake bake all --theme=AdminTheme [ModelName]

The Versions

10/11 2016

dev-master

9999999-dev

AdminTheme plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

31/10 2016

v1.4

1.4.0.0

AdminTheme plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

20/10 2016

v1.3

1.3.0.0

AdminTheme plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

19/10 2016

v1.1

1.1.0.0

AdminTheme plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

18/10 2016

v1.0

1.0.0.0

AdminTheme plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires