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

    Im currently using a default Jot from evolution installation, and i have some problems with it.
    Im trying to learn modx, and now im working with default template from the package.

    When I try to display Jot, with : [[Jot? &subscribe=`1` &pagination=`10` &moderated=`0` &tplModerate]]

    i get :
    Write a comment
    Required fields are marked with *.
    Subject:
    Comment: *
    
    Subscribe to new replies.
    Moderation: 
    You are currently viewing mixed comments.
    View unpublished comments (0)
    View published comments (1)


    And at the bottom i have on comment, posted by me (as an admin), but no new comments apper on the page.
    Page refreashs, and no new comments are published. Published an unpublished stays at (0) and (1).
    Im using the "friendly link", but when i turn them off, nothing changes.

    I run threw a wiki of Jot, tried using differen settings but still nothing. I don’t know how i was able to post this one comment at same beggining:(

    I would be very glad if someone could point me a good way on this smiley

    Cheers

    • Try calling the Jot snippet uncached [!Jot? ... !]

      When the finished page is cached, then the next time the page is requested it doesn’t go through the parser, it just gets taken from the cache and served. If you filled out a form, the form’s action would request the page again with the POST, but since the page is taken from cache, there’s nothing there to process the POST. When a snippet is called uncached, even though the page may be cached, the snippet is run again. Now it can process the POST and do whatever it’s supposed to do.
        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
        • 5397
        • 2 Posts
        Quote from: sottwell at Mar 25, 2010, 12:15 PM

        Try calling the Jot snippet uncached [!Jot? ... !]

        When the finished page is cached, then the next time the page is requested it doesn’t go through the parser, it just gets taken from the cache and served. If you filled out a form, the form’s action would request the page again with the POST, but since the page is taken from cache, there’s nothing there to process the POST. When a snippet is called uncached, even though the page may be cached, the snippet is run again. Now it can process the POST and do whatever it’s supposed to do.

        Thank you for this explanation smiley Everything now works perfectly smiley And i have a feeling that it will save me some time in future wink Thanks again