去除织梦后台登陆广告
去除织梦后台登陆广告需要找到后台管理目录文件夹(默认为dede目录)下面的templets文件夹中的login.htm文件,去掉大概在54行的如下代码:
<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>
怎么样?你再打开织梦后台登陆页面,是不是没有下面的一排广告了?感觉清爽多了吧。
去除织梦后台首页广告
去除织梦后台首页的赞助广告则需要找到后台管理目录文件夹(默认为dede目录)下面的templets文件夹中的index_body.htm文件,去掉大概在194行的如下代码:
<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> </dd></dl><!--赞助商链接结束-->刷新下后台首页,就没有赞助商广告了。好了,大家对怎么去除织梦后台首页和登陆页面的广告应该知道了。




