Resource icon

XF 1 Tip Tutorial Understanding Conditional Statements

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,780
Points
823

Reputation:

LQD submitted a new resource:

Tutorial Understanding Conditional Statements - Understanding Conditional Statements

Conditional Statements

The following conditional statements will only work in templates which support the arguments and parameters.

Statements can be expanded using AND, OR, xen:else and xen:elseif.

Replacing == with != in the following examples will change the condition from true to false.
For example,
Code:
<xen:if is="{$visitor.user_id} == x"> for true, <xen:if is="{$visitor.user_id} != x">for false.

Where an argument only contains a single...

Read more about this resource...
 
Top