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


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.



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.