I'm trying to run a conditional on the message_user_info template that performs something based on a user id.
I've dumped ({xen:helper dump, $user}) the user variable and $user.userid is a variable used in that template (["user_id"] => int(407)), but when trying to run the conditional nothing happens.
I've tried two conditional formats, no syntax errors occur but it still doesn't output the result of the conditional.
I've dumped ({xen:helper dump, $user}) the user variable and $user.userid is a variable used in that template (["user_id"] => int(407)), but when trying to run the conditional nothing happens.
I've tried two conditional formats, no syntax errors occur but it still doesn't output the result of the conditional.
Code:
{xen:if '{$user.userid} == 407', "True"}
<xen:if is="{$user.userid} == 407">Also true</xen:if>