Home > Backend Development > PHP Tutorial > 关于smarty引入模板后显示的有关问题

关于smarty引入模板后显示的有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:17:17
Original
885 people have browsed it

关于smarty引入模板后显示的问题
smarty引入模板后,打开页面,所有模板代码都放进了body中,head中为空。
代码的第一个标签会和浏览器空出高度不定的间隙。

或许是小弟孤落寡闻吧,网上都没见有人问这个问题的。
请高手来悉心指教,详细点好。
先谢谢了!!


------解决思路----------------------
1、去掉所有相关文件的 BOM 头
2、检查模板文件,看看是否有误

Related labels:
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
Latest Issues
smarty turns on caching garbled characters
From 1970-01-01 08:00:00
0
0
0
Why does tp use smarty template? ?
From 1970-01-01 08:00:00
0
0
0
How do you use smarty to integrate laravel5?
From 1970-01-01 08:00:00
0
0
0
Two ways to install smarty
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template