CoComment and TextPattern
Thanks to Merlin’s advices on the cocomment blog I managed to make my TextPattern installation (= the blog you are reading now) co-compatible. It’s really easy: add the following code to the comment_form form (under the presentation tab):
Add the following code to the comment_form form (under the presentation tab):
< script type="text/javascript" >
var blogTool = “TextPattern”;
var blogURL = “Replace with URL of your blog”;
var blogTitle = “Replace with Title of your blog”;
var postURL = “URL of your blog then add the following: /?id=
/* for me it means I have to write the following:
var postURL = “http://www.ballpark.ch/blog/?id=
*/
var postTitle = “
var commentAuthorFieldName = “comment_name_input”;
var commentAuthorLoggedIn = “false”;
var commentFormID = “txpCommentInputForm”;
var commentTextFieldName = “message”;
var commentButtonName = “submit”;
< /script >


January 2nd, 2008 at 11:04 pm
i hope this works - it’s rather different from the one offered for textpattern on cocomment’s site