phpcms 02

头部和尾部包含 1 默认的首页模板 C: wamp www phpcms templates ypzy2014 content index html 打

头部和尾部包含

1 默认的首页模板
C:\wamp\www\phpcms\templates\ypzy2014\content\index.html
打开模板查看
第一句
{template "content","header"}
最后一句
{template "content","footer"}

测试:
{template "yulinfeng","header_yulinfeng"} 引入OK
修改头部的引入文件成功
步骤:
在content的同级目录下新建一个文件夹和一个头部文件,并在index.html中引入


效果:怎么修改头部和尾部文件


细节:
如果我把header_yulinfeng.html 改掉,
注意:我改的是
C:\wamp\www\phpcms\templates\ypzy2014\yulinfeng
那么会提示
templates\default\yulinfeng\header_yulinfeng.html is not exists!
说明它是先找ypzy2014,再找default

您可能有感兴趣的文章
phpcms

phpcms如何使用总结

phpcms 的实用相关接口,函数,调用方法

PHPCMS 概念初学

简单介绍phpcms以及phpcms如何安装?