Hi. I'm using admin.tpl in all of my controllers, used with admin module. However, I would like to set other layout for one of my controllers(like user/login user/logout). I've tried renderWithLayout function, however, it always loads admin.tpl. So, question is: How to load custom layout in controller connected with plugin.
Hi kkrzyzak, there was a bug in Akelos that prevented layout changes on modules. I've just fixed the bug on rev.577. You can update your working copy.
Hi bermi,
I've updated my copy,but it still don't works (or I just can't set template)
I've tried:
// $this->renderFile('login',true,'login');
$this->render(array('template'=>'login','layout'=>'login') );
My layout is login.tpl, view is admin/user/login.tpl
view is displayed well, however - without any layout.
1 to 4 of 4