Similar to #538494: Provide user view categories as separate panes, but for the user edit form.
This is needed to allow Profile2 forms to be used.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | ctools-pass_category_to_profile_form-1892850-13.patch | 679 bytes | alex.bukach |
Comments
Comment #1
tim.plunkettOkay, with some help from merlinofchaos I was able to get this working.
You can now add a relationship from a user to their profile edit form.
In addition to user/%user/edit, the panel will also be loaded for user/%user_category/edit/%.
Comment #2
tim.plunkettI tested this in several different scenarios, and ended up committing http://drupalcode.org/project/ctools.git/commit/d58d900
Comment #4
alex.bukach commentedThe patch above does not send category to the profile form in fallback case. Here's a patch to fix it.
Comment #5
alex.bukach commentedMoreover, if fallback is not the case,
ctools_context_create_user_edit_form()does not use the category. Current patch fixes this as well (not sure whether in the most natural way).Comment #6
alex.bukach commentedWas anybody able to check the patch?
Comment #10
alex.bukach commentedHere's re-rolled patch for 7.x-1.x-dev. The first part of the patch in #5 (i.e. the whole patch in #4) appear to have been committed.
Comment #12
alex.bukach commented@tim.plunkett is it possible to commit the patch from #10 to 7.x? Do you have any concerns?
Comment #13
alex.bukach commentedRe-rolled against the current dev.
Comment #14
Konstantin Komelin commentedVote for #13. Works for me
Comment #15
chris matthews commentedThe 3 year old patch in #13 to user_edit_form.inc applied cleanly to the latest ctools 7.x-1.x-dev and (if still applicable) probably needs another review.
Comment #16
japerryDrupal 7 is no longer supported, closing.