We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17717
    • 433 Posts
    Hi all,

    I would like to call the Jot snippet uncached, I though a simple call like the following would work:

    [!Jot? &placeholders=`1` &output=`0` &subscribe=`1` &moderated=`0` &notify=`2` &canmoderate=`Site Admins`!]


    But the above outputs the above code on the website. Here is the previous cached code that I was using, that worked:

    [[Jot? &placeholders=`1` &output=`0` &subscribe=`1` &moderated=`0` &notify=`2` &canmoderate=`Site Admins`]]


    Not too sure where I have gone wrong, can anyone help?

    p.s. I am using the latest version of both MODx and Jot.

    Thanks
    Lee
      http://www.blend.uk.com | Web Design by Blend
      • 33337
      • 3,975 Posts
      Are you using this snippet call in another snippet call? or if your page is uncached?
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 7923
        • 4,213 Posts
        I’ve had this problem also.. not sure if I remember correctly, but it was something in PHx that forced to have Jot called cached in a non-cacheable page.. or some other snippet was on the same page or something..

        But I do remember that the only resolution was to set the document to be not cacheable and call jot cached..


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 17717
          • 433 Posts
          Thanks, I’ll try that.

          Lee
            http://www.blend.uk.com | Web Design by Blend