Discuz教程网

X2.5 0901版null为空或不是对象 解决方案

[复制链接]
authicon dly 发表于 2012-9-21 08:53:29 | 显示全部楼层 |阅读模式
模板/home/space_header.htm
查找
  1. <a href="home.php?mod=space&do=home" id="navs" class="showmenu" onMouseOver="showMenu(this.id);">{lang return_homepage}</a>
复制代码

在下方添加:
  1. <!--{if empty($_G['disabledwidthauto']) && $_G['setting']['switchwidthauto']}-->
  2. <a href="javascript:;" onClick="widthauto(this)"><!--{if widthauto()}-->{lang switch_narrow}<!--{else}-->{lang switch_wide}<!--{/if}--></a>
  3. <!--{/if}-->
  4. <a id="switchblind" href="javascript:;" onClick="toggleBlind(this)" title="{lang switch_blind}" class="switchblind">{lang switch_blind}</a>
复制代码

然后上传覆盖,更新缓存即可。

相关阅读:
1、分享一个解决Discuz!X上传附件%100却失败的方法
2、Discuz!X2(1221)版“自定义附件类型上传失败”BUG的修正方法
3、Discuz!X后台全局地区设置教程
4、Discuz!X后台管理全局用户权限用户权限设置教程
5、Discuz!X后台管理全局站点功能帖子活动和其它设置



上一篇:首页N格如何去掉横排会员?
下一篇:解决升级Discuzx2.5(0901)补丁后提示Discuz Database Error(1146)的错误
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-2 12:25

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表