i’m trying to turn off the layout for some controllers in zfc-admin. Unfortunately all the methods i’ve found does the exact opposite. turns off the views and loads the layout.
Eg.
$viewModel = new ViewModel();
$viewModel->setTerminal(true);
return $viewModel;
Is something in the configuration of ZfcAdmin that disturbs the usual functionality of setTerminal() method ?
As a temporary solution, following Jurian Sluiman comment, when you want to disable layout you can simply add a get parameter to the ( /?disableLayout=true) when you call a needed action, and in the layout
or something similar (adjust to your needs)