We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12306
    • 16 Posts
    Every time I put [!WebLoginPE? !] in my template (regardless of what variables are with it), I get "[[WebLoginPE? ]]" out put to the screen. I’ve tried reinstalling the snippet and whatever else I could think of. Can anyone tell me what to look for? I’m sure I’m just missing something stupid.

    Thanks!
    Tom
      • 4041
      • 788 Posts
      First thing I can think to check is all the spelling is the same and make sure snippet name matches the snippet call.
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 12306
        • 16 Posts
        If I misspell a snippet call, it won’t output anything.

        Here is my snippet call [!WebLoginPE? &type=`simple`!]

        I put up a blank page with nothing but the snippet call above in the template. Here is the output - http://www.holotrope.com/recruitbuddy/

        If anyone has any idea why it would just output the call without the results of that call, I would much appreciate it!
        Thanks,
        Tom
          • 15083
          • 697 Posts
          Check the caching etc, that can make snippets go a little crazy, but i’ve never seen this before!
          I would consider uploadeding all the core files again.
            • 3749
            • 24,544 Posts
            Be sure the rich text editor is turned off when editing the document with the snippet. See if there are some extra characters in the snippet call.

            If that doesn’t help, look in your snippet list and make sure you actually have a WebLoginPE snippet and that it’s name is spelled *exactly* the same way as in the call. Remember that snippet names are case-sensitive.

            Finally, try retyping the name of the snippet on the snippet edit page, copy that name to the clipboard, save the snippet, then paste that name into the snippet call and save the document.

              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              The rich text editor will convert all & it finds to &

              This will be OK once, as in &param1=`value1`, but when it does it again you get &param1=`value` and the snippet will (quite understandably) choke on it.

              If you’re using a rich text editor and you actually see the & instead of a plain & then it’s not good. check the HTML or Source and clean it up. You can also set the document to not use the RTE, or move the snippet call into a chunk.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 41165
                • 6 Posts
                did you find a solution