Hi There,
I had Jot working great but I followed a couple threads to try and get &docid`*` to work so the latest comments could be displayed in the sidebar.
Here are the two threads:
http://modxcms.com/forums/index.php/topic,15746.msg108349.html#msg108349http://modxcms.com/forums/index.php/topic,39256.0.htmlHowever, I've given up on acheiving that for now as in the end I noticed the normal comment system on the pages was stuffed - it's unclear from the posts if the suggestions even work (or maybe you have to know a lot of PHP). Anyway, now that I've gone back to a fresh install of Jot, many problems remain, specifically: posting comments, moderating comments and form validation aren't working.
I've also noticed that in Firefox I can see all the moderation controls even though Firefox is not logged in - I'm using Safari to administer the Modx manager.
Occasionally I'm also seeing weird errors were an incorrect path shows up in place of the comments/form like this:
/Users/user/sites/mysitename/assets/snippets/jot//templates/jot.class.inc.php
Because of the weird "//" in the path, obviously jot can't find what it's looking for.
I've tried the following but nothing has worked so far:
- Removed the extended and modified versions of Jot from the snippets folder
- Downloaded a fresh 1.1.4 package and installed it - copying the jot.snippet.txt back into snippets in the Modx manager
- Cleared the cache in Firefox and Safari
- Logged in/out of the Modx Manager
- Quit MAMP and restarted the webservers
- All of the above many times in various sequences!
Compared with Ditto and Wayfinder I had a few issues getting Jot to work in the first place so maybe it's incompatible with Evolution 1.0.2?
Or could it be possible that some of the modified code is cached in Modx somewhere - kind of grasping at straws now!
Here is the Jot call I'm using which is inside a chunk incase I've missed something easy:
<!-- START COMMENTS -->
<div class="textBlocks centre">
<div class="textBlock1 withSidebar">
[[Jot? &placeholders=`1` &output=`0` &moderated=`1` &pagination=`10` &css=`0` &badwords=`{{jotBadwordList}}` &bw=`1`]]
<div class="form">
[+jot.html.comments+]
[+jot.html.navigation+]
[+jot.html.moderate+]
[+jot.html.form+]
</div>
<p class="required">* = Required Information.</p>
</div>
<!-- CLEAR FLOATS ABOVE -->
<br class="clearFloat" />
</div>
I was using my own template chunks to format the comments but have reverted back to the default ones inside the Jot template folder incase my forms were the cause.
Any suggestions would be much appreciated...
Cheers
Ben