We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1526
    • 72 Posts
    Hallo, I'm using Jot+Yams in a slideshow made with imagegallery.
    I followed Yams instruction to update the Jot snippet. My problem is that the jot template to report a new comment by mail (&tplNotifyModerator) doesn't render the yams part of the url of the page where the comment was made.
    In the tpl I have the code (copied somewhere):
    View published comments: [+siteurl+][+jot.link.view+][+jot.querykey.view+]=1
    View comments waiting moderation: [+siteurl+][+jot.link.view+][+jot.querykey.view+]=0

    But in the mail I get:
    View published comments: http://isabelladucrot.it(yams_doc:64)?pic=180&jv094db470=1
    View comments waiting moderation: http://isabelladucrot.it(yams_doc:64)?pic=180&jv094db470=0

    The link should be
    http://isabelladucrot.it/it/rimpianto-budda.html?pic=180#jf094db470

    I guess this is a symphtom of a cached/uncached snippet but I don't know where to fix it.
    The snippett tha calls the upper template is
    [[Jot? &tplForm=`mgJotFormTpl` &tagid=`(yams_id)` &subscribe=`0` &tagid=`[+maxigallery.picture.id+]` &pagination=`10` &badwords=`{{MyBadwordsChunk}}` &customfields=`name,email` &moderated=`1` &canmoderate=`wugJotModerator` &tplNotifyModerator=`mgCommmentTpl` &trusted=`Jot Trusted Users` &css=`0` &captcha=`1` &validate=`name:The name field is empty.,email: Not a valid e-mail address.:email,content: You forgot to enter a comment.`]]
    but if I call it uncached it doesn't render the jot module (just the code).
    Any help? thank you. [ed. note: andrearicci last edited this post 14 years, 6 months ago.]
      MODx evo 1.5~1.6 ✪ Apache v 2.2.22 ✪ PHP v 5.3.10 ✪ MySQL v 5.1.61
      <°'iiii);