[vB4] How-to: Move page numbers inline with the thread title (like VB3)
by
08 Apr 2011
I don't care for the page numbers on the thread starter row, I prefer them up with the thread title, the way they were in vb3. The quick and dirty, is to find this in threadbit: Code:
<vb:if condition="$thread['pagenav']"> <dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}"> <dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt> <dd> {vb:raw thread.pagenav} <vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></span></vb:if> </dd> </dl> </vb:if> Code:
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a> Just posting this here along with some other things that I figure out, to help anyone that might want to know how to go about it. |