We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33372
    • 1,611 Posts
    I think I may have stumbled upon a couple of new bugs that I don’t believe were in previous versions of Jot.

    1. Some templates passed as parameters (chunk names) in the snippet call are being ignored by Jot. Specifically I’ve noticed that the &tplComments and &tplNotifyModerator parameters are being ignored. The only way that I have been able to change those templates is by uploading over the default template files in the snippet folder, although the other templates seem to work as chunks passed via parameters (so I imagine there’s a couple typos somewhere in the class file).

    2. The headers for the notification emails are slightly malformed, which is causing some of them to be displayed as part of the message content (at least in Thunderbird 2). The culprit seems to be the two instances of ."\r\n"."X-Mailer: Content Manager - PHP/".phpversion() being added to the headers in the mail function call itself in the class file, since those are the lines that appear in the message content. Removing both of those fixes the problem (but of course doesn’t add these custom headers).

    The templates not updating was driving me nuts, since I assumed it was a cache problem until I’d exhausted that possibility...

    Running the pre-installed Jot 1.1.2 in MODx 0.9.6.

    Oh and my snippet call is:
    [[Jot? &pagination=`10` &css=`0` &captcha=`0` &moderated=`1` &notify=`2` &badwords=`{{spamWordsList}}` &bw=`2` &subjectModerate=`FFT: New Blog Comment ` &tplForm=`commentForm` tplComments=`commentTemplate` &tplModerate=`commentModeration` &tplNav=`commentNavigation` tplNotifyModerator=`commentModerationEmail` &cssRowAlt=`alt` &cssRowMe=`me` &cssRowAuthor=`author` &canmoderate=`CommentModerators` &placeholders=`1` &output=`0`]]<br clear="all" /><h3>Comments:</h3><br />[+jot.html.navigation+][+jot.html.comments+][+jot.html.moderate+][+jot.html.form+]
      "Things are not what they appear to be; nor are they otherwise." - Buddha

      "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

      Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
      • 30269
      • 119 Posts
      @ZAP: I seem to have same problems here... have you been able to solve or was it really a bug?
        • 30269
        • 119 Posts
        Ok... found it myself, I used:

        [[Jot? &tplComments =`Jot_Reuma_Wiki_Comments` &placeholders=`1` &output=`0`]]

        But should have

        [[Jot? &tplComments=`Jot_Reuma_Wiki_Comments` &placeholders=`1` &output=`0`]]

        See the difference? ... the space before the "="