cakephp-adminlte-theme icon indicating copy to clipboard operation
cakephp-adminlte-theme copied to clipboard

Error Plugin AdminLTE could not be found. CakePHP 4.2.5

Open pavel-dovgoshiya opened this issue 3 years ago • 1 comments

cakephp-adminlte-theme: version 2.0.2

I have error with plugin. Problem in path.

Now defatult plugin path: plugins/AdminLTE/

For fix this i did: $this->addPlugin('AdminLTE', ['path'=>ROOT . DS . 'vendor' . DS . 'maiconpinto'. DS . 'cakephp-adminlte-theme' . DS]);

Also need to update for overrwrite templates: //src/Application.php public function beforeRender(EventInterface $event) { $this->viewBuilder()->setTheme('AdminLTE'); $this->viewBuilder()->setClassName('AdminLTE.AdminLTE'); }

pavel-dovgoshiya avatar Apr 15 '21 14:04 pavel-dovgoshiya

Hi @pavel-dovgoshiya

Did you solve the problem or you need help?

maiconpinto avatar Nov 22 '22 23:11 maiconpinto