Popup Dialogs and CCK

starbow's picture
public
starbow - Thu, 2008-01-31 01:04

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)


Great stuff!

cabbiepete - Thu, 2008-01-31 10:21

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

Drupal 6

Alex UA's picture
Alex UA - Thu, 2008-01-31 13:00

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?


It's definitely a work in

starbow's picture
starbow - Thu, 2008-01-31 17:56

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?