I’m currently learning CakePHP and I wanted to change the overall theme to mimic AdminLTE’s implementation.
I found a lot of github repos and youtube tutorials regarding this topic but none of it describes how to do it from scratch.
I’ve created the necessary tables and “bake all” of it.
The steps I did was to edit src/Template/Layout/default.ctp and add the following lines.
<?= $this->Html->css(['AdminLTE', 'AdminLTE.min']) ?> <?= $this->Html->script(['adminlte', 'adminlte.min', 'demo']) ?> <?= $this->Html->script(['/pages/dashboard', '/pages/dashboard2']) ?>
I’ve also added the necessary files into the webroot folder.
When I try to add the
into the body class. Nothing happens.
Any help would be greatly appreciated.
Thanks and have great day!