<![CDATA[ Two jot calls on the same page? - My Forums]]> https://forums.modx.com/thread/?thread=43376 <![CDATA[Re: Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250058 ]]> mrhaw Feb 18, 2011, 01:31 PM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250058 <![CDATA[Re: Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250057
Cheers.]]>
logiag Feb 18, 2011, 11:19 AM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250057
<![CDATA[Re: Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250056 chunk.form.inc.html
chunk.form2.inc.html
...into modx chunks
form
form2
]]>
mrhaw Feb 18, 2011, 11:13 AM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250056
<![CDATA[Re: Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250055
First call: (chunck file is called chunk.form.inc.html)

[!Jot? &amp;canmoderate=`Site Admin` &amp;placeholders=`1` &tagid=`comentarios` &amp;output=`0 ` &sortby=`createdon:a` &numdir=`0` &tplForm=`form`!]
[+jot.html.comments.comentarios+]
[+jot.html.navigation.comentarios+]
[+jot.html.moderate.comentarios+]
[+jot.html.form.comentarios+]


Second call: (chunck file is called chunk.form2.inc.html)

[!Jot? &amp;canmoderate=`Site Admin` &amp;placeholders=`1` &tagid=`email` &amp;output=`0 ` &sortby=`createdon:a` &numdir=`0` &tplForm=`form2`!]
[+jot.html.comments.email+]
[+jot.html.navigation.email+]
[+jot.html.moderate.email+]
[+jot.html.form.email+]

Thganks for help.]]>
logiag Feb 18, 2011, 11:02 AM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250055
<![CDATA[Re: Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250054 mrhaw Feb 17, 2011, 09:30 PM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250054 <![CDATA[Re: Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250053

The first call example:
[!Jot? &amp;placeholders=`1` &tagid=`jot1` &amp;output=`0 ` &tplComments=`form2`!](template file is called chunk.form2.inc.html)
[+jot.html.form.jot1+]


The second one:
[!Jot? &amp;placeholders=`1` &tagid=`jot` &amp;output=`0 ` &tplComments=`form`!](default template file called chunk.form.inc.html)
[+jot.html.form.jot1+]

This gives me 2 individual comments systems, but both uof them use the default "form" template.

Thanks.]]>
logiag Feb 17, 2011, 08:47 PM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250053
<![CDATA[Re: Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250052
http://modxcms.com/forums/index.php/topic,48979.msg292608.html#msg292608]]>
mrhaw Feb 17, 2011, 12:16 PM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250052
<![CDATA[Two jot calls on the same page?]]> https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250051
I’m trying to put 2 jot calls on a same page with independent forms, but it duplicates the comments.


I’ve created a snippet called "jot2", created a folder called "jot2" and changed de base path in the snippet "$jotPath = $modx->config[’base_path’] . ’assets/snippets/jot2/’;" and it doesn’s work.

Any sugestions?
Thanks.]]>
logiag Feb 17, 2011, 11:18 AM https://forums.modx.com/thread/43376/two-jot-calls-on-the-same-page#dis-post-250051