Open Villo21 opened 5 years ago
Hi @Villo21
Do you have this problem yet?
I'm verifying the issues to new release. Let me know if I can help you.
Hi @Villo21
For a additional information, you don't need use $this->viewBuilder()->setClassName('AdminLTE.AdminLTE');
. You will use this class when you want overwrite pattern files of theme.
More information in this link.
Hello, before using AdminLTE, I generated PDF files with CakePDF, after installing AdminLTE, I can not render the pdf. I discovered the problem but I do not know how to solve it. In AppController.php public function beforeRender(Event $event){ $this->viewBuilder()->setTheme('AdminLTE'); // Overwrite AppView class $this->viewBuilder()->setClassName('AdminLTE.AdminLTE'); } Removing this line $this->viewBuilder()->setClassName('AdminLTE.AdminLTE'); , the pdf works, but AdminLTE has the default menus again.