Question : cakephp 4 change layout view in a method
Answered by : fierce-falcon-ogu3htcorphu
//chnage the layout in Cakephp 4 with the layout file called ajax.php
$this->viewBuilder()->setLayout('ajax');
Source : | Last Update : Mon, 02 Nov 20
Answered by : fierce-falcon-ogu3htcorphu
//chnage the layout in Cakephp 4 with the layout file called ajax.php
$this->viewBuilder()->setLayout('ajax');
Source : | Last Update : Mon, 02 Nov 20