PHPBB3 如何在索引中显示最后的帖子标题
我在 phpbb3 中使用 prosilver 主题。 在文件 forumlist_body.html
中,有一个部分看起来像这样:
<dd class="lastpost"><span>
<!-- IF forumrow.LAST_POST_TIME -->
<dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
<!-- IF not S_IS_BOT -->
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
<!-- ENDIF -->
<br />
{forumrow.LAST_POST_TIME}
<!-- ELSE -->{L_NO_POSTS}<br />
<!-- ENDIF -->
</span></dd>
我如何让它也显示最后一个帖子标题。 我尝试了 {forumrow.LAST_POST_TITLE}
但没有成功。
I am using the prosilver theme in phpbb3. In the file forumlist_body.html
there is a part that looks like this:
<dd class="lastpost"><span>
<!-- IF forumrow.LAST_POST_TIME -->
<dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
<!-- IF not S_IS_BOT -->
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
<!-- ENDIF -->
<br />
{forumrow.LAST_POST_TIME}
<!-- ELSE -->{L_NO_POSTS}<br />
<!-- ENDIF -->
</span></dd>
How would I get that to show the last post title as well. I tried {forumrow.LAST_POST_TITLE}
but it didn't work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
{forumrow.LAST_POST_SUBJECT} 可能就是您所需要的。
{forumrow.LAST_POST_SUBJECT} is probably what you need.
很简单,,
我已经做了这些修改,,
这里是刚刚替换的代码:
its simple ,,
i have made those modifications ,,
here is the code just replace :
它看起来不像我的..
{L_NO_FORUMS}
It doesn't look like mine..
{L_NO_FORUMS}