Dustyhawk :: Broken Mirror


CoComment Commeth

By Serge Norguard. Filed in Technological  |  
TOP del.icio.us digg

after some tussle and hussle at the CoComment Forum, Serge is now able to use his cocomment feature at his website.

First of all, many thanks to Safirul Aldredha with his insightful tip and hack on how to get cocomments to work on a comment system that has been integrated with Ajax..

The cause of this problem was this and he quotes from Safirul’s post

“After reading through coComment integrate page and cocomment.js, I found out that the culprit is the onSubmit event and it is the same event that triggers coComment when we submit the comment form. The current AJAX commenting code uses return false to stop a form from being submitted if there’s any error occur.

So basically if we want to use 2 onSubmit event, open comments.php and remove or delete return false; somewhere at the end of form tag (K2) right after parameters: Form.serialize(this)}); or in your AJAX comment JavaScript file. There’s probably a drawback (error indicator failed to work) but that should do it. Let me know if it’s working or not. “

Many thanks to Safirul.

Sphere: Related Content

Tags:



Following Post(s) that relates to CoComment Commeth
Bloggersphere CoComments
Robb Eaten Comments


Before leaving a reply, do read the DISCLAIMER