ajax

Popups: Add and Reference

I have released a new module, "Popups: Add and Reference":http://drupal.org/project/popups_reference, which solves a problem that has been bugging me for years: creating a reference to a node that does not yet exist. The module adds a link to CCK's Node Reference widget that makes it easy to add a new node without having to leave the edit page. It is built on top of my "Popups module":http://drupal.org/project/popups.

Getting Modal Dialogs in Drupal 7

I have put up a wiki with the current status of my work towards getting popup modal dialogs into Drupal 7 over at http://groups.drupal.org/node/9185

Quick Admin Menu - A New Wave Menu UI

I just released a beta of my new experimental administration UI for the Drupal menu system, Quick Admin Menu. As opposed to my Ahah work, this interface is very client-side heavy, with only a couple of Ajax calls back to the system. This project is all about pushing the envelope in terms of ease of use.

Check out the demo. (You will not be able to submit the changes, or use the “Add item to Menu” link)

Weird Firebug Bug

Just got bit by a weird Firebug issue. If you have a variable named "parent", Firebug will choke. The second time you load the page, you will get lots of "console is undefined" errors, and there is nothing for it, but to rename the variable and restart the browser. I still think FB is the best thing since sliced bread.

Thanks to Mike over at the Firebug forum for diagnosing this one:
http://groups.google.com/group/firebug/browse_thread/thread/54df1cf07e7712f8/065fc7833fc93b19?#065fc7833fc93b19

Notes on Drag & Drop with Interface

_Damn, just lost my first version of this post. I need to see about getting the autosave module working_

I am working to wrap my brain around Drag & Drop in Drupal. "Interface":http://interface.eyecon.ro, the jQuery UI plug-in, seems like the best place to start. I am using jjeff's "expiremental jQuery Update modules":http://groups.drupal.org/node/3576 so I can use the latest version (v1.2).

Secrets of ahah_forms.js revealed

Kent Bye, of the "echochamberproject.com":/http://echochamberproject.com/, has posted a step-by-step analysis of how ahah_forms.js does it's voodoo. Check it out at: http://docs.google.com/Doc?id=dczgjp36_48ctkpt3

Secure Dynamic Forms and Subforms

This article is a follow up to my first tutorial on the subject: A Dynamically Expanding AJAX/AHAH Drupal Form Element. The basic flow of that article is still correct, but two month ago I could not figure out how to do dynamic forms without grabbing what I needed out of $_POST, which removes all the great FAPI security. Now I have figured it out and present the dynamic_subform module in Ahah Forms v1.5, which provides functions for securely creating and updating dynamic forms and subforms.

Ahah Forms Demo Site

Update: The demo site is currently resting. It might return in the future.

You can try out demos of the examples in the Ahah Forms package (Dynamic Polls, Views and Todo Lists) over at: http://demo.starbowconsulting.com.

Ahah Session Slides

Wow, the Summit was quite something. My head is still spinning from all the new info. I think my session went really well. Got some good questions, and feedback. Still need to figure out how to do the dynamic forms thing without opening up a security hole. More on that soon. Until then here are my slides:

Ahah_forms reloaded

Let's start with a review for those who have not already drunk the ahah forms framework kool-aid: Ahah forms is a utility for attaching Ajax-style partial page loading to Drupal forms without having to code any javascript. This is similar to Ruby on Rails' link_to_remote tag or form_remote_tag() function. The method I use to declare the binding is a custom extension to the formAPI.

Syndicate content