您好,朋友!跟版网团队很高兴能为您解答:
首先去掉dedecms自带的广告,比较便捷的解决办法是将织梦后台的广告管理中的广告全部删除即可。当然如果想要比较干净的清除的话,还需要将模板中的广告调用代码删除。
怎么去除织梦底部的 powered by dedecms版权信息:
在include/dedesql.classs.php文件中找到第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)
改成:
$arrs1 = array()
$arrs2 = array()
保存文件并上传即可。
希望我的回答能够帮到您!
你好,DEDE默认的模板调用的官方的JS,你可以直接删除后换成自己的广告代码,或者在后台的模块菜单下选择广告管理,生成自己广告的JS替换掉。官方广告代码在默认模板的templets\default 中的head.htm文件代码是:<div class="banner"><script src='http://www.dedecms.com/plus/ad_js.php?aid=4' language='javascript'></script>
</div>
希望能帮助到您
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)