  
- 積分
- 7573
- 威望
- 7573
- 金錢
- 9482
- 最後登錄
- 2025-2-1
       
|
[版型教學] 【玩转7.2系列】首页 鼠标掠过版块名字 弹出版块简介 For D7.2
1.修改文件:templates/你的模板目录/discuz.htm
打开 找到 有两个- <a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if} style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">
複製代碼 修改为:
本帖隱藏的內容需要回復才可以瀏覽
2.然后去掉直接显示的版块简介(选择性)- <!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
複製代碼 3.再查找:- </th>
- <td class="forumnums">
複製代碼 在上面添加:- {if $forum[description]}<div class="popupmenu_popup" id="d_$forum[fid]_menu" style="display: none;">$forum[description]</div>{/if}
複製代碼 4.再查找:- <!--{if !$forum[redirect]}-->
- <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
複製代碼 在上面添加:- {if $forum[description]}<div class="popupmenu_popup" id="d_$forum[fid]_menu" style="display: none;">$forum[description]</div>{/if}
複製代碼 更新缓存
这里有个规则 版块必须设置了简介 才会显示
演示站点:http://kc.feiclub.net/discuz/bbs/index.php的【SCLUB7.2】板块 |
-
1
評分人數
-
|