I have created a master forum (threads from several forums aggregated into a master forum thread list).
On the second line, before the thread starter's username, I would like to add the title of the forum that the thread is from.
I'm digging into thread_list code (see below), and I've found where I need to edit. However, I'm not sure exactly how to call the forum title of the thread.
Any suggestions?
Thank You.
On the second line, before the thread starter's username, I would like to add the title of the forum that the thread is from.
I'm digging into thread_list code (see below), and I've found where I need to edit. However, I'm not sure exactly how to call the forum title of the thread.
Any suggestions?
Thank You.
PHP:
<div class="secondRow">
<div class="posterDate muted">
<xen:username user="$thread" title="{xen:phrase thread_starter}" />,
<a{xen:if {$visitor.user_id}, ' href="{xen:link threads, $thread}"'} class="faint"><xen:datetime time="$thread.post_date" title="{xen:if {$visitor.user_id}, '{xen:phrase go_to_first_message_in_thread}'}" /></a><xen:if is="{$showForumLink}">,
<a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a></xen:if>
<xen:if is="{$showLastPageNumbers} AND {$thread.lastPageNumbers}">
<span class="itemPageNav">
<span>...</span>
<xen:foreach loop="$thread.lastPageNumbers" value="$pageNumber">
<a href="{xen:link threads, $thread, 'page={$pageNumber}'}">{$pageNumber}</a>
</xen:foreach>
</span>
</xen:if>
</div>