请问如何更改首页的模板文件index.php的调用模板
请问如何更改首页的模板文件index.php文件里面的include template('index');例如我在default模板中复制index.htm文件命名为index_1.htm文件
那首页index.php文件如果使用index_1.htm模板文件,[*]
[*]$destoon_task = '';
[*]$AREA = cache_read('area.php');
[*]$LETTER = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z');
[*]$seo_title = $DT['seo_title'];
[*]$head_keywords = $DT['seo_keywords'];
[*]$head_description = $DT['seo_description'];
[*]include template('index');
[*]}
[*]复制代码
继续寻求帮助!我顶!
http://bbs.destoon.com/static/image/smiley/default/mad.gif
http://bbs.destoon.com/static/image/smiley/default/mad.gif
http://bbs.destoon.com/static/image/smiley/default/mad.gif
http://bbs.destoon.com/static/image/smiley/default/mad.gif
http://bbs.destoon.com/static/image/smiley/default/mad.gif
http://bbs.destoon.com/static/image/smiley/default/mad.gif
http://bbs.destoon.com/static/image/smiley/default/mad.gif
http://bbs.destoon.com/static/image/smiley/default/mad.gif
求解,我改了include template('index');这里的index名称,结果不管用???????????????????????
修改三个文件 增加一个文件
然后首页访问index.php 读取的是 index-1.htm 了
修改三个文件,增加或者更改一个文件名
麻烦详细说一下,我有了index-1.htm 了,现在在index.php 里面把include template('index');改成include template('index'-1);了,还需要改哪呢?
你改用 index-1.htm 是什么意思呢?
怕别人能看到你的 模版原文件吗
用index.php调用index.html是一个页面,我再用index2.php调用index-1.html出另一个页面,两个不同的页面!
页:
[1]