I tried using the module and have added support for the editing the drupal user profile in a modal version of the form. I would like to share the code wit those who need the same feature, and I think it would be nice addition to the module. Patch attached.

Members fund testing for the Drupal project. Drupal Association Learn more


cmunk’s picture

Status: Active » Needs review
4.56 KB

I have attached is a patch which adds the option to show the edit user profile form in a modal dialog.
The function is enabled in the existing admin interface for the modal form module or links can be built manually.

southweb’s picture

Issue summary: View changes

Did you end to end test this to work with profiles?

southweb’s picture

Here's how far I got before throwing in the towel. Modal dialogs for forms in Drupal are a pain in the arse.

- Window resizing issues
- Error message handling
- Redirection from one form to another

Too hard.

southweb’s picture

southweb’s picture

southweb’s picture

5.08 KB
sidharthap’s picture

Applying the patch modal_forms-profile-modal-20140304-1.patch shows a minor error on line 109: trailing white space. Patch applied and works as expected.