I am trying to add a global template variable in templater_global_data listener.
The variable is available in my templates, but it doesnt seem to work in extra.less using
Is it supposed to work in css too?
If not possible to get variables in css - is there a way to alter the body class from php in addon?
The variable is available in my templates, but it doesnt seem to work in extra.less using
<xf:if...
Is it supposed to work in css too?
If not possible to get variables in css - is there a way to alter the body class from php in addon?
Last edited: