Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#6 | modal_forms-profile-modal-20140304-1.patch | 5.08 KB | southweb |
#1 | modal_forms-profile-modal-2035469-0.patch | 4.56 KB | cmunk |
Comments
Comment #1
cmunk CreditAttribution: cmunk commentedI 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.
Comment #2
southweb CreditAttribution: southweb commentedDid you end to end test this to work with profiles?
Comment #3
southweb CreditAttribution: southweb commentedHere'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.
Comment #4
southweb CreditAttribution: southweb commentedComment #5
southweb CreditAttribution: southweb commentedComment #6
southweb CreditAttribution: southweb commentedComment #7
sidharthapApplying 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.