dedecms 如何实现访问不同域名,首页显示不同底部模板
那个超链接是调用代码自带的 只要你用调用代码 就会有 最简单的方式就是直接将你版权信息写进HTML代码里面 也就是把你的footer里面的{dede:globalcfg_powerby/}这段调用标记换成具体版权信息,如:
<div id="footer" class="center">
<h2 class="slide">版权区</h2>
<div class="copyright">
公司地址: 成都双流海港广场 业务咨询: XXXXXX-李先生 电子邮箱:XXX@qqcom<br />
版权所有 © 四川XXXXXXXXX 网址: wwwcom<br />
技术支持: XXXXXXXXX
</div>
</div>
首先打开文件管理器找到include/dedesqlclassphp,打开该文件找到该文件的
$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79);
$arrs2=array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20,0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e);
然后删除就可以了。
推荐你用:虚拟主机-普及版(1G,送50M SQL数据库,支持HTML/ASP/NET/PHP/MYSQL/MSSQL),网站备案免费:120元/年。
可以找咱们,现在在线。
方法/步骤
1
进入后台,找到模块/文件管理器/include/dedesqlclassphp文件,找到第588行,如下:
$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79); $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f, 0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72, 0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20, 0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e);
2
改成:
$arrs1 = array(); $arrs2 = array();
然后点击保存
3
保存后,点击生成/一键更新网站/更新所有/开始更新
4
如果修改这个还不能全部清洁底部信息,我们还再到模板中去修改一下,找到网页底部模板footerhtm,把版权调用{dede:globalcfg_powerby/}删除或修改!如图:
5
前台预览一下,是不是没有了!
6
其实建议带有powered by dedecms ,把链接去掉就可以了,毕竟是人家辛苦开发的!
0条评论