You should promise not to giggle, but my situation is as follows:
Instead of using partial and auxiliary tools and other similar tools that we already use, we want to use a custom view outside all the frames and borders of the actual application. Basically, we need at this moment to load pure HTML into a variable with a certain reaction of the model. This is a business of monkeys and can be done by almost anyone without using a keyboard.
The problem is that the HTML pages we want to create should be quite extensive and be the starting point for debugging / support / expansion due to inate-return $ arrlglllgll; an approach. To make a smooth and humane script, we would really like to use .phtml style with pure html mixed with php injections, without actual rendering .
Is it possible and how?
I'm currently struggling with
$mailView = new Zend_View();
$mailView->setScriptPath('/Templates');
echo($mailView->render('test.php'));
die;
Where test.php is the file that I am trying to achieve using any means that I could imagine, but in the end it was not possible to execute every time because
exception 'Zend_View_Exception' with message 'script 'test.php' not found in path (\library\Extras\Controller\Action\Helpers\)' in \library\Zend\View\Abstract.php:875
Stack trace: blablabla
Downloading the user view from the controller is easy, just specify the relative path and you are set up, but it seems that I canβt find anything if I remove from the library. Any tips?