【发布时间】:2012-08-27 16:50:10
【问题描述】:
我正在使用 zend 框架。
我的结构是(仅包含此问题所需的文件和文件夹):
application
>configs
>controllers
>forms
>images
>layouts
>scripts
>layout.phtml
>models
>styles
>style.css
>views
>scripts
>index
>index.phtml
Bootstrap.php
docs
library
logs
public
test
我的布局工作正常。不过,我想问几个问题,以使我的设置完美地符合我的要求。
-
application>styles 是放置样式表的好地方吗?如果不是,推荐什么? - 如何将样式表添加到布局中?
- 在我的布局中,我有一个标题标签:
<title>Text</title>。如何将值从我的控制器传递给它?
【问题讨论】:
标签: php model-view-controller zend-framework layout