I am using cakephp version 2.6 . My main issue is only view of a action is rendered ,but layout is not getting applied.It is happening on overall actions.Whether it is a server issue I have applied default layout in AppController.php ,but still not working
public function beforeFilter() {
$this->layout = 'default';
}
Thanks in advance.
deafultwill loaded automatically. second if you want to do then do either inbeforeRender()ofAppor go the particular action and there only write$this->layout = 'some other layout';