In an application that I'm creating, I have the need to have all view
scripts (including those for modules) in a non-standard directory, as well
as change the default extension. The relevant directory structure would look
like this:
base path/
application/
modules/
In your error controller, at the end of the errorAction() method, make a
call to $this-renderScript() and pass in a relative path to your error
script template -- relative as in relative to one of your view script
paths. I hope this helps!
--
*Hector Virgen*
Sr. Web Developer
Hi Hector,
Thanks for the response. If I'm understanding you correctly, you're
suggesting I do something like this:
class ErrorController extends Zend_Controller_Action
{
/**
* @return void
*/
public function errorAction()
{
// Snipped code...