craigiri Well-known member Nov 29, 2012 #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...
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...
DBA Well-known member Nov 29, 2012 #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> Upvote 0 Downvote
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 Nov 29, 2012 #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... Upvote 0 Downvote
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 Nov 29, 2012 #4 Find the below in your thread_list_item template Code: <dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:if $thread.isRedirect, '–', {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, '–', {xen:number $thread.reply_count}}</dd></dl> </xen:if> *replace X with your forum ID Upvote 0 Downvote
Find the below in your thread_list_item template Code: <dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:if $thread.isRedirect, '–', {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, '–', {xen:number $thread.reply_count}}</dd></dl> </xen:if> *replace X with your forum ID
craigiri Well-known member Nov 29, 2012 #5 Great! That seems to work - makes it much cleaner... Upvote 0 Downvote