We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16702 ☆ A M B ☆
    • 536 Posts
    Last Of The Romans Reply #1, 17 years, 1 month ago
    Hello guys,

    my Jot call is:
    [[Jot? &pagination=`20` &placeholders=`1` &captcha=`1` &guestname=`Анонимен` &customfields=`name,email,website,gravatar` &output=`0` &subscribe=`1` &moderated=`0` &notify=`2` &canmoderate=`Site Admins` &validate=`email,name`]]
    [+jot.html.moderate+]
    [+jot.html.comments+]
    [+jot.html.form+]
    [+comment.custom.email:is=``:then=``:else=`[+comment.custom.email:gravatar+]`+]
    


    and work fine when document’s is NON-cacheable!
    When some doc is CACHED JOT submit the comment but not print in page and in the BD not make supply.
    where is the mistake?
    i use 0.9.6.2 - rev 4077 PHP Version 5.2.9, mysql - 5.0.81
      palma non sine pulvere
      • 1122
      • 209 Posts
      The mistake consists in that you cannot cache both page and Jot call. On cached page your placeholders -- [+jot.html.moderate+], [+jot.html.comments+], etc. -- are filled in only once, during first call of the page and further remain unchanged (since the page is fetched from the cache, isn’t it). On cached page Jot should be called in uncached mode [!Jot? ... !] thus triggering actual execution of the code during each request of the (cached) page.