We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29332
    • 80 Posts
    Can I use a snippet instead of a chunk in a template variable? For instance:
    Tips == @SNIPPET tips||No Tips == @SNIPPET notips

    If that’s not the way to do it, how do I do it? I can’t use a chunk, because the code uses PHP, which chunks don’t support.
      Teaching myself MODx
      • 29332
      • 80 Posts
      Ok, I figured out how to do it. I had to create a chunk to use for the template variable, and in the chunk, I added the snippet call.
        Teaching myself MODx