cclaerhout
Well-known member
Oups i thought it works but it doesn't ^^ The visual property is not replaced by its value (whereas it should be)... the variable will only give the property namecode :Cédric, thanks. What is @myProperty here?
XenForo parser recognize such things as style variables.
Also, could you give me search and replace strings to check.
{$myVariable} will give @myProperty
A concrete example could be for example with @fbColorScheme (from Style Properties: General)
If you paste in the template footer this code
Code:
<p>Check control: @fbColorScheme</p>
<p>Result: {xen:if "'@fbColorScheme' == 'light'" , "light", "dark"}</p>
It's working. I'm going to test it now with TMS but I don't think it will work. The only solution would be to include a template which will have this code then.