This project has moved and is read-only. For the latest updates, please go here.

CommentForm macro

Jul 9, 2010 at 12:42 AM
In v1.2, I'm trying to include the comment form on my blog posts, but the submit button does nothing. Comments are enabled for the post, and I've included $macros.CommentForm() in the file. I've also confirmed that the necessary Ajax.ashx file exists on the root. Are there any other dependencies? Are there any instructions posted anywhere that explain how to make this work? I've been Googling for several hours and can't find any. Thank you, David NOTE: I cannot upgrade to v1.3 at this time. Hopefully on a future project.
Jul 9, 2010 at 1:26 AM
Make sure that your theme is pulling in the /__utility/js/graffiti.js file. This is required for the "onClick" event to submit the ajax POST.
Jul 9, 2010 at 6:33 PM
Thanks, it was already doing that, but your suggestion still got me down the right path. Turns out that my use of jQuery was conflicting with Prototype. I resolved the problem by linking in jQuery _before_ $macros.Head() and switching out all my jQuery $ tokens to use the actual jQuery function name.
Jul 9, 2010 at 9:18 PM

Great! I had forgotten that v1.2 and before used Prototype.