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

Learning this code, what is this: <xen:if is="{$tabs.forums}">

Discussion in 'XenForo Questions and Support' started by Jamie, Oct 9, 2010.

  1. Jamie

    Jamie Well-Known Member

    Looking over the navigation template and not exactly knowing what I am looking at, can anyone tell me what this is?

    <xen:if is="{$tabs.forums}">

    Does this point to a file somewhere? Does it make this tab highlighted? In wanting to learn this system, I figured and was it was suggested I jump right in.. :)

    Thanks for your help in understand this bit.

  2. g0rn

    g0rn Well-Known Member

    It is a condition tag: if $tabs['forums'] is true then everything between this tag and corresponding </xen:if> will be displayed to user, otherwise it won't.
  3. Jamie

    Jamie Well-Known Member

    Ah ok. I feel silly asking now.. :oops:



Share This Page