|
Customizing the template design layout.
By default the main layout file is located at /<$ServerPath>/application/layouts/scripts/<$TemplatePath>/layout.phtml unless you change / customize the template location. You can find the Default template under admin area where you will be able to customize or switch around to many other templates you have. See the below image :
The below image indicates which template you are presently running for public viewing. Please note that, all template is located at : /<$ServerPath>/application/layouts/scripts/<$TemplatePath>/ ($TemplatePath is whatever template you will have). You can edit existing / default template file as well as develop a custom template by create another directory following the layout guideline.
In our application, the fronted interface is mostly guided by layout. This application uses XML files to configure the layout of page. In this post, I will show you how to configure layout for a page manually. In default template, we created XML files which configure layout of all front-end pages which is located at /<$ServerPath>/application/layouts/scripts/<$TemplatePath>/config/ config.xml Since we are using Zend fretwork , we used Zend_Layout that implements a classic Two Step View pattern, allowing developers to wrap application content within another view, usually representing the site template. Such templates are often termedlayouts by other projects, and Zend Framework has adopted this term for consistency.
Application layout files Location :
|