All Projects → maiconpinto → Cakephp Adminlte Theme

maiconpinto / Cakephp Adminlte Theme

Licence: mit
CakePHP AdminLTE Theme

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cakephp Adminlte Theme

Acl
Plugin for managing ACL in CakePHP applications.
Stars: ✭ 113 (-30.25%)
Mutual labels:  cakephp
Cakephp3 Bootstrap Helpers
CakePHP 3.x Helpers for Bootstrap 3 and 4.
Stars: ✭ 134 (-17.28%)
Mutual labels:  cakephp
Adminlte Laravel
A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0
Stars: ✭ 1,814 (+1019.75%)
Mutual labels:  adminlte
Migrations
CakePHP database migrations plugin
Stars: ✭ 114 (-29.63%)
Mutual labels:  cakephp
Cakebox
Framework agnostic virtual PHP Development Environment
Stars: ✭ 127 (-21.6%)
Mutual labels:  cakephp
Cakephp Ide Helper
IDE Helper plugin for CakePHP
Stars: ✭ 138 (-14.81%)
Mutual labels:  cakephp
Angular Admin Lte
AdminLte for Angular 2
Stars: ✭ 109 (-32.72%)
Mutual labels:  adminlte
Cakephp Jwt Auth
A CakePHP plugin for authenticating using JSON Web Tokens
Stars: ✭ 153 (-5.56%)
Mutual labels:  cakephp
Roncoo Adminlte Springmvc
根据实际项目的需求,实现一个适合由单应用扩展到多应用的架构。在项目的最初设定就是一个适合多模块扩展的架构,最初是单应用架构,以包区分模块。当项目需求增大的时候,会先实现多机部署,接下来进行项目拆分,进行集群部署。每个阶段都会整合一个架构,提供对应的解决方案。
Stars: ✭ 131 (-19.14%)
Mutual labels:  adminlte
Employee Mgmt Laravel5.4 Adminlte
The project is using laravel 5.4 and adminlte
Stars: ✭ 141 (-12.96%)
Mutual labels:  adminlte
Adminlte Asp Net Mvc
Asp.Net Example Version of Beautiful AdminLTE Template
Stars: ✭ 115 (-29.01%)
Mutual labels:  adminlte
Infinitas
Infinitas is an open source content management framework that was developed using the CakePHP framework (v2.x). Amongst other things, its a blog, cms, newsletter emailing system and on-line shopping cart.
Stars: ✭ 126 (-22.22%)
Mutual labels:  cakephp
Cakephp Imagine Plugin
CakePHP wrapper for the powerful Imagine image processing library. Makes images manipulation easy and powerful.
Stars: ✭ 140 (-13.58%)
Mutual labels:  cakephp
Cakephp Tinyauth
CakePHP TinyAuth plugin for an easy and fast user authentication and authorization. Single or multi role. DB or config file based.
Stars: ✭ 114 (-29.63%)
Mutual labels:  cakephp
Vue Admin Manager
整合 vue,element,echarts,video,bootstrap(AdminLTE),admin等,搭建的后台管理系统
Stars: ✭ 153 (-5.56%)
Mutual labels:  adminlte
Ngx Admin Lte
Admin LTE for Angular 2/4/6/8 as a NPM package
Stars: ✭ 111 (-31.48%)
Mutual labels:  adminlte
Admin Theme
Primefaces admin theme based on Admin LTE and Bootstrap
Stars: ✭ 136 (-16.05%)
Mutual labels:  adminlte
Adminlte Rtl
💐 RTL Version of Admin LTE 2.2.1
Stars: ✭ 160 (-1.23%)
Mutual labels:  adminlte
Search
CakePHP: Easy model searching
Stars: ✭ 153 (-5.56%)
Mutual labels:  cakephp
Ssm Cluster
🍏Spring+SpringMVC+Mybatis+adminLTE3实现前后端分离(nginx负载均衡+tomcat集群)
Stars: ✭ 142 (-12.35%)
Mutual labels:  adminlte

CakePHP AdminLTE Theme (2.0.0)

What's the news

The AdminLTE was updated version to 2.4.5.

The CakePHP was updated version compatible to 4.0.0.

This release 2.0.0 is can be considered the stable version, as indicated in the SemVer.org recommendations.

Installation

You can install using composer.

composer require maiconpinto/cakephp-adminlte-theme

Enable Plugin

// src/Application.php

public function bootstrap()
{
    $this->addPlugin('AdminLTE');
}

Enable Theme

// src/Controller/AppController.php
use Cake\Event\EventInterface;

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

Enable Form

// src/View/AppView.php

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

Configure

// new config/adminlte.php file

return [
    'Theme' => [
        'title' => 'AdminLTE',
        'logo' => [
            'mini' => '<b>A</b>LT',
            'large' => '<b>Admin</b>LTE'
        ],
        'login' => [
            'show_remember' => true,
            'show_register' => true,
            'show_social' => true
        ],
        'folder' => ROOT,
        'skin' => 'blue'
    ]
];

// config/bootstrap.php

Configure::load('adminlte', 'default');

Customize Layout

If you want to Customize Layout

What's the features

Layouts

There are 10 layout files.

  • boxed
  • collapsed
  • default it's the main layout
  • documentation
  • fixed
  • lockscreen
  • login
  • print
  • register
  • top

View Blocks

There are 3 Blocks where you can extend your theme.

  • css
<?php echo $this->fetch('css'); ?>

One example is src/Template/Pages/home.ctp:

<?php echo $this->Html->css('AdminLTE./bower_components/morris.js/morris', ['block' => 'css']); ?>
  • script
<?php echo $this->fetch('script'); ?>

One example is src/Template/Pages/home.ctp:

<?php echo $this->Html->script('AdminLTE./bower_components/morris.js/morris.min', ['block' => 'script']); ?>
  • scriptBottom
<?php echo $this->fetch('scriptBottom'); ?>

One example is src/Template/Pages/home.ctp:

<?php $this->start('scriptBottom'); ?>
    <script>
      $.widget.bridge('uibutton', $.ui.button);
    </script>
<?php  $this->end(); ?>

Elements

There are 7 element files.

  • Element/
    • aside/
      • form
      • sidebar-menu
      • user-panel
    • aside-control-sidebar
    • aside-main-sidebar
    • footer
    • nav-top

Flash Message

The theme is prepared to show Flash Messages.

<?php echo $this->Flash->render(); ?>
<?php echo $this->Flash->render('auth'); ?>

Bake

One of the better Cake features. The theme is prepared to use Bake.

bin/cake bake all user --theme AdminLTE

View

  • AdminLTEView

This is one the better theme feature. It change the pattern how Cake show view files.

Basically, you overwrite any theme, plugin and prefix files.

  1. src/Template/Plugin/$theme/Plugin/$plugin/$prefix/
  2. src/Template/Plugin/$theme/Plugin/$plugin/
  3. src/Template/Plugin/$theme/$prefix/
  4. src/Template/Plugin/$theme/

FormHelper

FormHelper by default has format template based on Foundation template. This helper overwrite these templates.

Behavior

  • DatepickerBehavior

When you configure App.defaultLocale to pt_BR this Behavior is util.

Locale

When you configure App.defaultLocale to pt_BR this Locale is util.

Page debug

Added link to default page of CakePHP.

Page debug

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].