I am trying to set up modules without my Zend Framework application and am wondering how to configure the module to use its own layout script.
I am hoping to define it within my application.ini file, but am not sure what to do...
I have tried:
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.modules.layout.layout = "dietplan"
resources.modules.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
and this...
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
dietplan.resources.layout.layout = "dietplan"
dietplan.resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
But am getting nowhere.
Any ideas?