XF 1.2 Template Conditional for Prefix

DRE

Well-known member
#1
Is there a template conditional for prefixes?

When I click a thread prefix it shows all the threads with that prefix.

On this page I would like to add something special for a certain prefix.
 

Jake Bunce

XenForo moderator
Staff member
#2
Rich (BB code):
<xen:if is="{$displayConditions.prefix_id} == 5">
	
</xen:if>
Specify the prefix_id in red. This works in the forum_view template.
 
#4
Rich (BB code):
<xen:if is="{$displayConditions.prefix_id} == 5">
 
</xen:if>
Specify the prefix_id in red. This works in the forum_view template.
@Jake Bunce What could I use for the prefix conditional in thread_view template, so that it'll check if the thread is prefixed by a certain prefix.

PS: I'm currently using 1.3.3

thx :)
 
Top