CoComment Commeth

By Serge Norguard. Filed in Technological  |  
TOP

Japan is just a click away!
J-List is a peaceful island of Japanese pop culture for you



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.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • SphereIt
  • TwitThis
  • Technorati
  • Tumblr
  • E-mail this story to a friend!
  • Print this article!
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

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree