Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[经验] 安装风格白屏,或打了0114补丁后风格css问题

[复制链接]
hk2r 发表于 2009-1-31 02:44:47 | 显示全部楼层 |阅读模式
错误症状


改错误是0114之后增加了
解决方法,适合0114后版本和打了0114补丁出现该错误的朋友使用

找到你使用模板风格的header.htm,<style type="text/css">到</style>内容替换成以下
  1. <style type="text/css">
  2. <!--{if !empty($_SGLOBAL['space_theme'])}-->
  3. @import url(template/default/style.css);
  4. @import url(theme/$_SGLOBAL[space_theme]/style.css);
  5. <!--{else}-->
  6. @import url(template/$_SCONFIG[template]/style.css);
  7. <!--{/if}-->
  8. <!--{if !empty($_SGLOBAL['space_css'])}-->
  9. $_SGLOBAL[space_css]
  10. <!--{/if}-->
  11. </style>
复制代码
如果后台的header也错误的话。找到admin/tpl/header.htm,<style type="text/css">到</style>内容替换成以下
  1. <style type="text/css">
  2. @import url(template/$_SCONFIG[template]/style.css);
  3. @import url(admin/tpl/style.css);
  4. </style>
复制代码
whj888 发表于 2009-1-31 13:30:51 | 显示全部楼层
我升级时也出现这个问题了,但是对比了1.14补丁,style部分和楼主发的没有区别。
回复

使用道具 举报

ajiesun 发表于 2009-1-31 13:57:40 | 显示全部楼层
刚开始 是这样的

没有 管她

现在正常了

和黑
回复

使用道具 举报

 楼主| hk2r 发表于 2009-1-31 14:13:23 | 显示全部楼层
意思是程序上是升级了,但模板没有升级,这个地方很多人忽略。
回复

使用道具 举报

xiebinren 发表于 2009-2-8 02:13:00 | 显示全部楼层
楼主,还是不行呀
回复

使用道具 举报

334533375 发表于 2009-3-1 22:43:11 | 显示全部楼层
看下!!!!!!!!
回复

使用道具 举报

xbf99 发表于 2009-4-18 11:45:07 | 显示全部楼层
个人主页和好友主页总是自动跳转http://www.kuyoo8.com/咋回事
修改哪
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-21 22:33 , Processed in 0.094026 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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