I have a simple question... How could I render the contents of the default.phtml which is in Project/application/layouts/scripts/default.phtml to a variable, so I can have its html.
In the index controller, with an action and a phtml file named test, this would work:
$html = $this->view->render('index/test.phtml');
But, of course, this does not:
$htmlDefaultLayout = $this->view->render('default.phtml');
Since default.phtml is not inside any controller, I guess.
Is there a good way to do that?