Heisenberg submitted a new resource:
You must be registered for see links
- Guide and tutorial for conditional statements using XenForo 2 syntaxConditional Statements for XenForo 2
The conditional statements can be expanded by using AND, OR conditional statements operators and using xf:if, xf:else, xf:elseif.
If there are any conditional statements that you want to add, please add it as a message and the article will be updated.
1. How can I show content to Administrators?
2. How can I show content to Moderators?...Code:<xf:if is="$xf.visitor.is_admin"> Show content... </xf:if>
You must be registered for see links