• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Remove the "Replies" word and count from thread list

craigiri

Well-known member
#1
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.png
 

DBA

Well-known member
#2
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>
 

craigiri

Well-known member
#3
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...
 

DBA

Well-known member
#4
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