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

 找回密码
 立即注册
搜索

默认模板首页版块简介错位???

[复制链接]
pollen 发表于 2009-4-17 13:36:42 | 显示全部楼层 |阅读模式
本帖最后由 pollen 于 2009-4-17 13:59 编辑

我DZ是最新版的。模板风格是默认的。但是就像截图这样,很郁闷的问题。

如果版块没有介绍,则版名和版主会在版面logo右侧显示,正常。

但是,版块加了简介之后,就会变成版名开始另起一行跑到版面logo下面去显示了。logo右侧一片空白,不好看还浪费空间。

能否改成无论有无简介,都让版名在logo右侧,换行出介绍,介绍完毕后再换行显示版主?

未命名.GIF
上面的版块和下面的版块,显示格式完全不同。如果只有版名和版主,就在logo右侧。一旦中间加了版块简介,就整个都跑到logo下方了。郁闷。

默认模板里面,这段的代码是:
  1.                                 <!--{loop $cat[forums] $forumid}-->
  2.                                         <!--{eval $forum=$forumlist[$forumid];}-->
  3.                                         <tbody id="forum$forum[fid]">
  4.                                                 <tr>
  5.                                                         <th$forum[folder]>
  6.                                                                 $forum[icon]
  7.                                                                 <div class="left">
  8.                                                                 <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
  9.                                                                 <!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
  10.                                                                 <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
  11.                                                                 <!--{if $forum['moderators']}--><!--{if $moddisplay == 'flat'}--><p>{lang forum_moderators}: $forum[moderators]</p><!--{else}--><span class="dropmenu" id="mod$forum[fid]" onmouseover="showMenu(this.id)">{lang forum_moderators}</span><ul class="moderators popupmenu_popup" id="mod$forum[fid]_menu" style="display: none">$forum[moderators]</ul><!--{/if}--><!--{/if}-->
  12.                                                                 </div>
  13.                                                         </th>
  14.                                                         <td class="forumnums">
  15.                                                                 <!--{if $forum['redirect']}-->N/A<!--{else}--><em>$forum[threads]</em> / $forum[posts]<!--{/if}-->
  16.                                                         </td>
  17.                                                         <td class="forumlast">
  18.                                                         <!--{if $forum['permission'] == 1}-->
  19.                                                                 {lang private_forum}
  20.                                                         <!--{else}-->
  21.                                                                 <!--{if $forum['redirect']}-->
  22.                                                                         <a href="forumdisplay.php?fid=$forum[fid]">{lang url_link}</a>
  23.                                                                 <!--{elseif is_array($forum['lastpost'])}-->
  24.                                                                         <p><a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 30)}</a></p>
  25.                                                                         <cite><!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> - $forum[lastpost][dateline]</cite>
  26.                                                                 <!--{else}-->
  27.                                                                         {lang never}
  28.                                                                 <!--{/if}-->
  29.                                                         <!--{/if}-->
  30.                                                         </td>
  31.                                                 </tr>
  32.                                         </tbody>
  33.                                 <!--{/loop}-->
复制代码


我在“$forum[description]”这里改了好半天也没搞定@@

期待各位帮忙。谢谢~~~!
回复

使用道具 举报

 楼主| pollen 发表于 2009-4-17 13:56:59 | 显示全部楼层
不好意思,猪脑袋忘记贴图了@@。已经补上。
回复

使用道具 举报

 楼主| pollen 发表于 2009-4-24 23:31:55 | 显示全部楼层
怎么回事呢?最近几天在官方发帖,都没人回应?官方的人是不是都在忙着搞新版呢?
回复

使用道具 举报

romanz 发表于 2009-6-13 12:16:33 | 显示全部楼层
((mk14))也想知道
回复

使用道具 举报

gushiyue2008 发表于 2009-6-13 12:24:05 | 显示全部楼层
期待解决!!!!
回复

使用道具 举报

helpfish 发表于 2009-6-13 13:36:37 | 显示全部楼层
回复

使用道具 举报

ainiwanni 发表于 2009-6-14 22:19:53 | 显示全部楼层
http://www.ssbacn.com
时尚吧超级论坛
友情顶顶你
回复

使用道具 举报

→奇仁√ 发表于 2013-3-25 08:54:43 | 显示全部楼层
帮你顶一下吧
回复

使用道具 举报

亲D 发表于 2013-3-25 09:43:13 | 显示全部楼层
没错位吧....是宽度问题,把他挤下去了,可以设置一行2个版块
回复

使用道具 举报

4947046 发表于 2013-4-4 15:42:50 | 显示全部楼层
前排坐下
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-11-26 23:02 , Processed in 0.139410 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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