Home > Backend Development > PHP Tutorial > zend framework的主布局脚本 layout.pthml可以更改吗解决办法

zend framework的主布局脚本 layout.pthml可以更改吗解决办法

WBOY
Release: 2016-06-13 13:49:04
Original
896 people have browsed it

zend framework的主布局脚本 layout.pthml可以更改吗
如标题,请问zend framework的主布局脚本 layout.pthml可以设置为其他的吗?

------解决方案--------------------
在application里面加入
resources.layout.layoutPath = APPLICATION_PATH "/layouts"
resources.layout.layout = 2colnums

貌似这样可以,你试试

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template