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

XF 1.2 Template Conditional for Prefix

Discussion in 'XenForo Questions and Support' started by DRE, Jan 20, 2014.

  1. DRE

    DRE Well-Known Member

    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.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    <xen:if is="{$displayConditions.prefix_id} == 5">
    Specify the prefix_id in red. This works in the forum_view template.
    DRE likes this.
  3. DRE

    DRE Well-Known Member

    Thank you thank you thank you!!!
  4. tonnyz

    tonnyz Member

    @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 :)

Share This Page