I'm using panels to render the user_edit page. I'm can easily add profile fields in the panel regions that I want, however I'm unsure how to place certain "general form" components like username, email address, password, locale settings, etc.

I'm guessing these are attached to the user edit form by other modules. Is there a recommended approach to place these individually without having to use the "general form" widget?

Comments

merlinofchaos’s picture

For the node edit, we have all of those as specific blocks, because they can't be derived automatically like field api form info. In order to place those, someone will need to create panes that handle those form items. There are many node_form items that exist as an example. They're actually quite simple once you get into it, they're just tedious and annoying because it can't be automated.

Actually, it's possible that we *could* do some level of additional automation based upon the field api extra fields these days, but I'm not completely sure about that. And I'm not sure it covers enough things.

caschbre’s picture

Yeah, I'm not sure it's worth trying to automate it. Items would still fall through the cracks.

Could you point me to the examples you mentioned and I'll take a crack and making the additional panes?

merlinofchaos’s picture

Look in ctools/plugins/content_types/node_form

node_form_title.inc is a nice, simple one that probably correlates well to a lot of the user stuff.

tnathanjames’s picture

Project: Panels » Ctools
Category: Support request » Feature request
Issue summary: View changes
tnathanjames’s picture

Version: 7.x-3.3 »
Component: Miscellaneous » Code

I would like this feature as well. I have created a patch for it that I will upload shortly. Since these individual components go in the ctools module, I have moved this issue to the ctools issue queue. Since it is a new feature (to breakout individual components of the user edit form), I have also updated the category.

tnathanjames’s picture

Status: Active » Closed (duplicate)

At another look through the ctools issue queue, I found this issue: https://www.drupal.org/node/1399058. I have submitted a patch to that issue that should address this one as well. Marking this as duplicate.