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.
Okay, 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/%.
I tested this in several different scenarios, and ended up committing http://drupalcode.org/project/ctools.git/commit/d58d900
Automatically closed -- issue fixed for 2 weeks with no activity.
The patch above does not send category to the profile form in fallback case. Here's a patch to fix it.
Moreover, 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).
Was anybody able to check the patch?
Issue #1892850 by tim.plunkett: Follow-up: ensure when the context is...
Issue #1892850 by tim.plunkett: Allow specific user category profile...
DamienMcKenna queued 5: ctools-pass_category_to_profile_form-1892850-5.patch for re-testing.
The last submitted patch, 5: ctools-pass_category_to_profile_form-1892850-5.patch, failed testing.
Here'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.
@tim.plunkett is it possible to commit the patch from #10 to 7.x? Do you have any concerns?
Drupal is a registered trademark of Dries Buytaert.