I was trying to get this to work with no avail. I am essentially developing a photo contest site, with comments enabled. I can comment on photos just fine but my jot call on a separate page doesn’t return any results.
My jot call on my mg template is like this:
[+jot.html.form.[+maxigallery.picture.id+]+]
<h2>Comments</h2>[+jot.html.comments.[+maxigallery.picture.id+]+]
[[Jot? &placeholders=`1` &output=`0` &tagid=`[+maxigallery.picture.id+]` &canpost=`Registered` &canmoderate=`WebAdmin` &canedit=`Registered`]]
I can write and manage comments no problem.
Now I have a call in another chunk that looks like this:
<h2>Recent Comments</h2>
[[Jot? &placeholders=`1` &output=`0` &docid=`*` &debug=`0`]]
[+jot.html.comments+]
Where it gets squirrely is that there is no real docID other than the one for the parent. Looking at the db table for jot_content all of the comments are obviously there, but the tagID’s are different and the UPARENT is "2" which is the id of the gallery view page but the parent reads 0. I dont even see where a docID field comes into play.
I thought it maybe an SQL thing (Im using 4.x) or I am just missing the point of how jot returns comments and how the parameters fit together.
Ideally it would simply return the last 5 comments from the jot content table. If anyones got any ideas that would be greatly appreciated.
thanks-
P