XF2 Conditional Statements

XF2 Conditional Statements

Admin

Administrator
Messages
1,857
Reaction score
645
Points
113
Admin submitted a new resource:

XF2 Conditional Statements - XF2 Conditional Statements

The if template tag can be used for conditional rendering. The if tag can take the following attributes:
  • is - The condition under which the content of the tags should be displayed.
Conditions :
The is attribute supports several logical operators:
  • OR - Boolean or. Alternative usage: ||
  • AND - Logical and. Alternative usage of &&
  • ! - Logical negation (not).
  • XOR - Returns true if only one of the two...

Read more about this resource...
 
Back
Top Bottom