如何去掉织梦网站底部的powered by dedecms方法

如何去掉织梦网站底部的powered by dedecms方法,第1张

那是你有的页面没有加底部版权信息模板,你可以把底部单独制作成一个footerhtm,然后再在你其他的模板页面底部加上footerhtm模板,

{dede:include filename="footerhtm"/}重新生成一下,试试吧~~

查看网站模版templets、打开找到default/footerhtm。查看是否包含powered by dedecms,如果有,可以将超链接去掉,只留文本形式,当然也可以修改为自己的信息。

如果在网站模版templets中footerhtm没有找到有关版权的信息怎么办呢?

这个时候,可以打开include文件中的dedesqlclasssphp文件,大概在580多行,找到

$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);

将上面的代码修改为

$arrs1 = array();

$arrs2 = array();

也就是去掉()中的字符。

方法/步骤

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 ,把链接去掉就可以了,毕竟是人家辛苦开发的!

DABAN RP主题是一个优秀的主题,极致后台体验,无插件,集成会员系统
网站模板库 » 如何去掉织梦网站底部的powered by dedecms方法

0条评论

发表评论

提供最优质的资源集合

立即查看 了解详情