1qaz2wsx 发表于 2011-6-23 15:57:43

修改index.html,为什么会自动回复原样?(已解决)

我用dreamweaver修改首页index.html,可每过一段时间系统就会删除我添加的表格,回复dt的原貌。

请问这是这么回事,要怎么做才能修改首页?

[ 本帖最后由 1qaz2wsx 于 2011-6-23 18:27 编辑 ]

joy 发表于 2011-6-23 16:09:27


你需要修改template/index.html 这样首页才可以改变    修改网站根目录下的没用

1qaz2wsx 发表于 2011-6-23 16:17:21


谢谢!用dreamweaver打开template/index.html,里面只有一行字。。。

请问能否用修改过的首页index.html直接覆盖这个template/index.html?

[ 本帖最后由 1qaz2wsx 于 2011-6-23 16:22 编辑 ]

joy 发表于 2011-6-23 16:32:07


可以      不过你修改前 先做好备份

1qaz2wsx 发表于 2011-6-23 16:37:52


刚才试过了,直接覆盖template/index.html还是不行。如果在后台使用“更新缓存”or“生成首页”,就又回复了dt原貌

joy 发表于 2011-6-23 16:49:40


不会啊   除非是权限问题不然不会没改变的

joy 发表于 2011-6-23 16:59:07


不好意思 刚才发错了应该是这个template/default/index.htm

[ 本帖最后由 qiaohu 于 2011-6-24 08:56 编辑 ]

1qaz2wsx 发表于 2011-6-23 17:02:39


template/default文件夹里有两个index,请问是覆盖index.html还是index.htm?

1qaz2wsx 发表于 2011-6-23 18:29:27


原来是用dw修改template/default/header.htm,搞定
http://bbs.destoon.com/static/image/smiley/default/victory.gif

joy 发表于 2011-6-24 09:02:47


http://bbs.destoon.com/static/image/smiley/default/smile.gif
                            。
页: [1] 2
查看完整版本: 修改index.html,为什么会自动回复原样?(已解决)