Dave Stromberger
Member
Just a tip that I thought others may like.....
I wanted to move the Similar Threads block from below the first post, to below the LAST post of the thread.
To do so, first you need to have debug mode enabled, then click on Template Modifications, then the "message" template, and change the following code:
to:
It would be cool to see this as one of the settings in the Options page. Once I changed to this, my users thanked me!
I wanted to move the Similar Threads block from below the first post, to below the LAST post of the thread.
To do so, first you need to have debug mode enabled, then click on Template Modifications, then the "message" template, and change the following code:
<xen:if is="{$post.position} == 0 AND !{$message.conversation_id}">
to:
<xen:if is=" {$post.position} == {$thread.reply_count} AND {$thread.reply_count} % {$xenOptions.messagesPerPage} > 1 AND !{$message.conversation_id}">
This will insert the Simple Threads block AFTER the last post, but only if there is more than one post in the thread.
It would be cool to see this as one of the settings in the Options page. Once I changed to this, my users thanked me!