AJAX Form Trifecta: JQuery, nodeapi, and form_alter

  • user warning: Table './d610@002dcdmug20/comments' is marked as crashed and last (automatic?) repair failed query: SELECT COUNT(*) FROM comments c WHERE c.nid = 192 AND c.status = 0 in /var/www/sites/cdmug.org/htdocs/modules/comment/comment.module on line 992.
  • user warning: Table './d610@002dcdmug20/comments' is marked as crashed and last (automatic?) repair failed query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.signature, u.picture, u.data, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 192 AND c.status = 0 ORDER BY c.thread DESC LIMIT 0, 50 in /var/www/sites/cdmug.org/htdocs/modules/comment/comment.module on line 992.
Embedded Video: 
Michael J Haggerty
Fri, 10/24/2008 9:00am
1 Hour
Drupal Version: 
Drupal 5
Drupal Version: 
Drupal 6
  • jQuery, hook_nodeapi and hook_form_alter;
  • A how-to session regarding best practices for creating slick-looking AJAX forms in Drupal capable of submitting page information without the need for full page submits, and updating the current page based on responses from the server.
  • Discusses the use of jQuery to create effects and interaction between the browser and server, hook_form_alter to get the forms looking just right, and hook_nodeapi to handle requests received.
  • Also, a common design challenge is creating associations between nodes during the AJAXForm submission process. This session will deal with how to handle the underlying logic for creating relationships on form pages using Drupal settings in jQuery.
  • This session will use a live demo of a system in action demonstrating all of the concepts in place, example code during the presentation, and code samples for people to take away.
  • UPDATE: I noticed many of the registrants for Drupalcamp listed themselves as point and click developers, Drupal themers, or just starting. Putting together the presentation to be accesible to everyone.
Average: 2 (7 votes)
Your rating: None


Post new comment