Hi,
The AppController's beforeRender() callback would be the place to do
that, so make sure you have a custom AppController ready.
lets say:
function beforeRender() {
if (in_array($this->action, array('add', 'delete'))) {
$this->layout = 'layout1';
}
parent::beforeRender();
Hi guys!. I want to do automatic view redirect. For example for all
actions like "add","delete" layout will be "layout1"(not default)
someone knows how to do that?
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou