Download the PHP package flickerleap/cakephp-adminlte-theme without Composer
On this page you can find all versions of the php package flickerleap/cakephp-adminlte-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download flickerleap/cakephp-adminlte-theme
More information about flickerleap/cakephp-adminlte-theme
Files in flickerleap/cakephp-adminlte-theme
Package cakephp-adminlte-theme
Short Description CakePHP 3.x AdminLTE Theme.
License MIT
Homepage https://github.com/flickerleap/cakephp-adminlte-theme
Informations about the package cakephp-adminlte-theme
CakePHP AdminLTE Theme
Installation
You can install using composer.
Enable Plugin
Enable theme
Enable Form
~Configure~ (deprecated in 1.0.6)
~Customize Layout~ (deprecated in 1.0.6)
Replace the files according to the image.
src/Template/Element/nav-top.ctp
src/Template/Element/aside-main-sidebar.ctp
src/Template/Element/aside/user-panel.ctp
src/Template/Element/aside/form.ctp
src/Template/Element/aside/sidebar-menu.ctp
src/Template/Element/aside-control-sidebar.ctp
src/Template/Element/footer.ctp
Remember to remove the initial PHP block and the final closing brace when copying the desired template element to customize.
Customize Layout (from 1.0.6)
After you enable the AdminLTEView class in the AppController.php file, you can overwrite any View file, only by creating the Plugin / AdminLTE / folder inside the Template folder.
For example, to overwrite the elements files, you must create them as follows:
src/Template/Plugin/AdminLTE/Element/nav-top.ctp
src/Template/Plugin/AdminLTE/Element/aside-main-sidebar.ctp
src/Template/Plugin/AdminLTE/Element/aside/user-panel.ctp
src/Template/Plugin/AdminLTE/Element/aside/form.ctp
src/Template/Plugin/AdminLTE/Element/aside/sidebar-menu.ctp
src/Template/Plugin/AdminLTE/Element/aside-control-sidebar.ctp
src/Template/Plugin/AdminLTE/Element/footer.ctp
The biggest news is that you can override elements also for prefixes. This means that you can have a footer element, for an environment that has an Admin prefix, and a different footer element for the environment that has no prefix.
For example:
src/Template/Plugin/AdminLTE/Element/footer.ctp
src/Template/Plugin/AdminLTE/Admin/Element/footer.ctp
Page debug
Added link to default page of CakePHP.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request