Discuz教程网

[代码修改] Discuz X2 首页美化之最后发表显示标题、作者、回复时间

[复制链接]
authicon dly 发表于 2011-6-23 17:08:45 | 显示全部楼层 |阅读模式
1314学习网图片01.jpg

搞好了   
分享一下:
/template/default/forum/discuz.htm 查找:
  1. <!--{else}-->
  2. <!--{if $forum['redirect']}-->
  3. <a href="$forumurl" class="xi2">{lang url_link}</a>
  4. <!--{elseif is_array($forum['lastpost'])}-->
  5. <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></cite>
  6. <!--{else}-->
复制代码
替换成:
  1. <!--{else}-->
  2. <!--{if $forum['redirect']}-->
  3. <a href="$forumurl" class="xi2">{lang url_link}</a>
  4. <!--{elseif is_array($forum['lastpost'])}-->
  5. ┌主題:<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>├时间:$forum[lastpost][dateline] <br>└作者:<!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></cite>
  6. <!--{else}-->
复制代码

更新缓存完事!
为了弄这个美化   没少发帖求人     求人不如求己一点都没错!发帖求助都这么多时间了   没一个帮忙的。因为自己犯过难   所以自己弄明白咋修改后  第一时间里跟各位分享      
高手看了   请不要笑话咱    咱承认自己很菜   

话不多说了   
无图无真相,咱直接上演示地址:http://www.qufult.com/





上一篇:Discuz X2搜索栏右侧添加天气预报的方法
下一篇:Discuz X2 超强底部分享
authicon 有吃就不错了 发表于 2011-6-25 08:04:50 | 显示全部楼层
找了半天了,还坐沙发,呵呵
http://www.xuezihui.com
authicon 主编 发表于 2011-6-26 15:05:06 | 显示全部楼层
顶了!!!!!!!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-2 09:05

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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