Question

For my project I have added following line of code in applicaiton.ini

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

Whenever I add this code, am getting following error,

**Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'layout.phtml' not found in path

Bellow is the structure of my project

** enter image description here

Was it helpful?

Solution

The Folder for the layout must be located in "application".

/application/layouts/scripts/layout.phtml
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top