Wednesday, September 29, 2010

Enable layout support in Zend Framework

Zend Framework application generated by Zend Tool doesn't support layouts by default.

Enabling Layout Support using zf Tool


Run on command line:

zf enable layout

Enabling Layout Support via application.ini


Edit application/configs/application.ini and add to the [production] environment :

resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"

No comments:

Post a Comment