The recommended location of layouts is in a "
subdirectory of your application:
application |-- Bootstrap.php |-- configs | `-- application.ini |-- controllers |-- layouts | `-- scripts | |-- layout.phtml
Zend_Layout, add the following to your
configuration file ("
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts" resources.layout.layout = "layout"
The first line indicates where to look for layout scripts; the second line gives the
name of the layout to use, minus the view script extension (which is assumed to be
.phtml" by default).