小鱼儿模板网专注于织梦源码分享、织梦模板、discuz模板、wordpress主题等网站模板,为广大站长提供网站模板以及Discuz插件等素材。
用户名:
密码:
注册

织梦源码,模板王

VIP

CMS教程

站长学院

Discuz!X3.x板块横排如何去掉“最后发表”并添加板块简介的方法

www.adminbuy.cn / 2015-02-25
 
Discuz! X3.x 板块横排如何去掉“最后发表”和“从未”并添加板块简介
修改前
 
1.修改template/default/forum/discuz.htm文件找到以下代码:
<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}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
 
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
 
{lang never}
 
2.替换为:
$forum[description]
 
收缩