Popup Dialogs and CCK

Events happening in the community are now at Drupal community events on www.drupal.org.
starbow's picture

I have been playing with the CCK head and my modal dialogs, and you can see the result at:

http://www.citris-uc.org/blog/tao/drupal_modal_dialogs_and_cck (2 minute loop)

I am particularly happy with the new ability to detect if the drag-and-drop table has been modified, and to offer to save the current progress.

Aside: Those of you paying close attention might have noticed me cheating. The /admin/content/types page doesn't actually have "fields" links. But it should (http://drupal.org/node/215623)

Comments

Great stuff!

cabbiepete's picture

That looks really awesome, is that with drupal 5 or drupal 6?

Drupal 6

alex ua's picture

Note the big "upal 6" in the top corner and the drag and drop option on the content type page...

This looks really great! One question: what are the chances that the jscript will crash during submission of pages? I'd love to deploy something like this for clients, but I'd be a bit worried that they might lose all of their work. Would it be possible to use this together with something like autosave?

Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology

It's definitely a work in

starbow's picture

It's definitely a work in progress at the moment, even more so that Drupal 6 (which just hit RC3). It will take more refinement, and a lot more testing before I would use it on a production site.

Recovery from a javascript crash is an interesting question. You would need to somehow remove the transparent div overlay to be able to submit the form normally...but how do you do that after the javascript has crashed?

Javascript

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: