Fuddland
coComment is a new service that allows you to keep track of any comments you make on weblogs; it’s currently in the early stages of development and needs a bit more tweaking to make it work perfectly with the most common browsers and weblogging platforms. Here’s how to automatically allow anyone signed up to its services to keep track of comments they make on MT-based weblogs.
[These instructions are for the default installation of MT 3.2 — if you’ve made changes to the templates, you will have to locate the corresponding sections in order to make the required changes.]
-
Open the Site Javascript template mt-site.js and append the following code:
// coComment global variables
var blogTool = "Movable Type";
var blogURL = "<$MTBlogURL$>";
var blogTitle = "<$MTBlogName$>";
var commentAuthorFieldName = "author";
var commentAuthorLoggedIn = "false";
var commentFormID = "comments_form";
var commentTextFieldName = "text";
var commentButtonName = "post";
var cocomment_force = false;Save and rebuild the template.
Open the Individual Archive template and insert the following before the </head>:
<MTIfCommentsAccepted>
<script type="text/javascript">
<!--
// coComment entry-specific variables
var postURL = "<$MTEntryPermalink$>";
var postTitle = "<$MTEntryTitle$>";
//-->
</script>
</MTIfCommentsAccepted>Scroll down to almost the end of the template, find the lines that say
</form>
</div>
</MTIfCommentsActive>
and change them to:
</form>
</div>
<MTIfCommentsAccepted>
<script type="text/javascript" src="http://www.cocomment.com/js/cocomment.js"></script>
</MTIfCommentsAccepted>
</MTIfCommentsActive>
Save the template.
Repeat Steps 2 & 3 with the Comment Preview system template.
Rebuild your Individual Archives only.
In: Indexed / GoogleAdsense & WWW
2006 / 03 / 13 – 13:56
Comments
Daisy | 2006 / 03 / 14 – 15:00
Aha! I signed up with them a while back and (blush) had forgotten all about it, ta very much for the reminder :-)
Commenting Closed
Commenting on this post is closed. Thanks to all those who left comments. If you'd still like to say something about this entry, feel free to email me.