Improvs
Member
I'm using callback inside xenforo template. I need to pass there some params: true or false.
That is what I got bellow:
Now i have true data inside value (1) or false ('').
But i can't use xenforo conditional statements:
I always got TRUE result. The reason is PreEscaped type, how can i return only string or number or true,false from callback back to the template?
Please, any help.
That is what I got bellow:
Code:
PreEscaped {#341 ▼
+value: """
\n
1\n
"""
+escapeType: "html"
}
Now i have true data inside value (1) or false ('').
But i can't use xenforo conditional statements:
Code:
<xf:if is="{$isAnonymous} != '1'">
test
</xf:if>
I always got TRUE result. The reason is PreEscaped type, how can i return only string or number or true,false from callback back to the template?
Please, any help.