【发布时间】:2012-07-10 14:32:36
【问题描述】:
我的zend应用结构:
application
->configs
->layouts
->scripts
->admin.phtml
->site.phtml
->modules
->admin(controllers, models, views)
->Bootstrap.php
->default(controller,models,views)
->Bootstrap.php
我已将 application.ini 中的默认布局设置为:
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
resources.layout.layout = "site"
我有两个模块:admin 和 default。如何设置管理模块的布局文件(admin.phtml)?我想从管理模块的 Bootstrap.php 文件中更改布局? 或者建议我哪种方法最简单?
【问题讨论】:
标签: zend-framework zend-layout