Remove the "Replies" word and count from thread list

craigiri

Well-known member
Is there a way to remove these from ONE node?

As an example, I have a read-on forum where each thread is only one post....so don't like the idea of the big O and Replies showing on the listing pages.....see enclosed...
Screen shot 2012-11-29 at 1.59.05 PM.webp
 
Have you tried using the forum conditional?

Code:
<xen:if is="{$forum.node_id} == x">
This content will show in forum x
<xen:else />
This content will show in all other forums
</xen:if>
 
Haven't tried anything - didn't know if there was an add-on or exact instructions for doing this....

I'm pretty helpless with where I'd put that conditional to remove that particular thingy...
 
Find the below in your thread_list_item template

Code:
<dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.reply_count}}</dd></dl>

And replace it with this:
Code:
        <xen:if is="{$forum.node_id} != X">     
        <dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.reply_count}}</dd></dl>
        </xen:if>

*replace X with your forum ID
 
Back
Top Bottom