CakePHP XML View File
I would like to install the CakePHP framework to enable rendering of the page when the view file does not exist. I have all the definition set in the layout and you don't need any extra empty files.
+2
xpepermint
source
to share
2 answers
You can use a controller property autoRender
.
function beforeRender() {
$this->autoRender = FALSE;
}
+2
Kielanas
source
to share
Yeah ... $this->render(false);
-2
xpepermint
source
to share