
歡迎訪問全國企業網站設計NO.1網站開發商平臺 | 付款方式 |
POST TIME:2020-10-09
在網站中不能少的就是廣告,在dedecms織夢網站后臺登陸頁中默認也是有廣告的,這些廣告確實也會影響到網站后臺的加載速度,所以如果不想要的話也是可以刪除的。
刪除網站后臺登陸頁廣告:
后臺登陸的默認系統文件是/dede/login.php文件,使用的模板是uploads\dede\templets\login.htm
打開uploads\dede\templets\login.htm文件
找到最下面的代碼:
<div class="dede-iframe"><iframe name="loginad" src="login.php?dopost=showad" frameborder="0" id="loginad" scrolling="no"
marginwidth="0" marginheight="0" width="100%"></iframe></div>
刪除以上代碼即可去除登陸頁的廣告。
刪除后臺系統菜單中的贊助商廣告:
打開uploads\dede\templets\index_body.htm文件
找到
<dl class='dbox' id="item8">
<dt class='lside'><div class='l'>贊助商鏈接(<a href="http://ad.dedecms.com/ad/" target="_blank">說明</a>)</div></dt>
<dd>
<iframe name="showad" src="index_body.php?dopost=showad" frameborder="0" width="100%" id="showad" frameborder="0"
scrolling="no" marginheight="5"></iframe> dedecms.com
</dd>
</dl><!--贊助商鏈接結束-->
刪除代碼中的框架代碼,即
<iframe name="showad" src="index_body.php?dopost=showad" frameborder="0" width="100%" id="showad" frameborder="0" scrolling="no"
marginheight="5"></iframe>