I’ve got a TV ’promo1’ which is a checkbox with some html in the default value.
In my template I’ve got [[*promo1]]
This displays the html when TV unchecked but doesn’t when checked?
Shouldn’t it work the other way round?
Ok ignore this, now resolved.
The issue was caused because I was redefining my template variable after I’d already used it in some Resources. I didn’t realise the value of the TV was stored for the Resource in modx_site_tmplvar_contentvalues but presumed it was looked up from the TV as the Resource loaded.