We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28120
    • 380 Posts
    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?
      • 28120
      • 380 Posts
      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.