We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5854
    • 39 Posts
    Hello everybody!

    Website/Page in question: http://www.fiery-legends.de/ -> Click on the "News" button

    I am having comment problems. I have created 3 different comment_templates, one for each different kind of news (Team/Feature/Scene).

    So, for each "news"_comments chunk the following code being used:

    [[Jot? &captcha=`0` &canmoderate=`Admins` &subscribe=`1` &pagination=`5` &notifyAuthor=`1` &sortby=`createdon:a` &placeholders=`1` &output=`0` ]]
    <h6>Comments</h6>
    <br />
    [+jot.html.comments+]
    [+jot.html.form+]


    Now, the weird part is it only works for "teamnews" and not for the other two ?

    If you go over here: http://www.fiery-legends.de/index.php?id=60 you can post a comment.

    However for: http://www.fiery-legends.de/index.php?id=65 if you try and post a comment, nothing seems to occur.

    Same for http://www.fiery-legends.de/index.php?id=66 but here it is even weirder, I somehow managed to post a comment and now I cannot delete/edit or post a new one!

    Any help would be greatly appreciated!

    Best Regards,

    AR/Counterfire

      • 1122
      • 209 Posts
      You need to uncache your 65 and 66 pages (+ clear cache for entire site). Jot cannot operate properly on cached pages. On page 60, it behaves properly because this page is already uncached.

      (Jot submit form has a hidden field "JotNow". This field should generate unique value for each request of the page. On page 60 it does while on 65 and 66 this field keeps still the same value so, I guess, these two pages are retrieved from the cache and therefore Jot is not working at all since browser still gets static snapshot of the page.)
        • 5854
        • 39 Posts
        Perfect!!!

        Thanks a bunch! But on that, to clear cache for the entire site you meant to remove the default caching i.e. select no for:

        Cacheable default - Yes/No - Select ’Yes’ to make all new Resources cacheable by default.
        ?



          • 1122
          • 209 Posts
          By saying "+ clear cache for entire site" I meant one-time action: "Clear Cache" button on a "Site" tabbar in your manager. However, selecting "No" in "Cacheable default" is a good idea for a site using Jot -- it should prevent you from similar problem with Jot call in the future.