We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17717
    • 433 Posts
    Does that look right? Is there any way round if it is a simple case of not being possible?

    Thanks
    Lee
      http://www.blend.uk.com | Web Design by Blend
      • 7923
      • 4,213 Posts
      Hmm.. the Jot wiki says this for the &placeholders parameter:


      * 0 = no placeholders are created (default)
      * 1 = placeholders are created for every debug value (see &debug parameter)
      o if no tagid is specified the placeholders are created like this:

      [+jot.html.form+]

      o if the tagid is specified the placeholders are created like this:

      [+jot.html.form.tagid+]

      So, put the jot placeholders back in to the mgPictureTplComment chunk and use these:

      [+jot.html.moderate.[+maxigallery.picture.id+]+]
      [+jot.html.comments.[+maxigallery.picture.id+]+]
      [+jot.html.form.[+maxigallery.picture.id+]+]
      [+comment.custom.email.[+maxigallery.picture.id+]:is=``:then=``:else=`[+comment.custom.email.[+maxigallery.picture.id+]:gravatar+]`+]

      I’m not sure if that custom field will work like that with the phx and all.. but if not, you could create a snippet to output all these placeholders and use it in the maxigallery template, eg.

      [[MySnippet? &tagid=`[+maxigallery.picture.id+]`]]

      <?php
      return '[+jot.html.moderate.'.$tagid.'+]' .
             '[+jot.html.comments.'.$tagid.'+]' .
             '[+jot.html.form.[+maxigallery.picture.id+]+]' .
             '[+comment.custom.email.'.$tagid.':is=``:then=``:else=`[+comment.custom.email.'.$tagid.':gravatar+]`+]';
      ?>
      


      That should work atleast.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."