Integration with user/#/edit
| Project: | Content Profile |
| Version: | 6.x-1.x-dev |
| Component: | User registration module |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
We make use of content profile in various projects. The functionality is much appreciated but the usability is a bit poor, especially the way the node types are integrated in the '/user' page. We've received a lot of feedback these pages are too complicated with a lot of tabs, subtabs and links.
In an attempt to improve this I've looked at the way User registration module integrates the default account fields with the cck fields during registration. I'm not too deep into programming Drupal so I've tried to do some copy/pase/edit in order to integrate the cck-fields into the user/#/edit pages. It is roughly working now except that when submitting Drupal complains fields have been altered by a different user. I probanly don't understand all the details of the order in which the Forms API is supposed to work ;-)
Please find attached a draft version of the content_profile_edit module that might eventually find its way into this module. I'm looking for feedback and improvements.
| Attachment | Size |
|---|---|
| content_profile_edit.zip | 2.38 KB |

#1
We did some more work on the module and it seems to be working fine now. I really think this is a big usability improvement for editing content profile data. I change the status to 'needs review' and hope this can make it into the dev branch.
#2
Hi,
I tried your module... the idea is really great! I searched for it as a quite normal feature for the original content profile module.
I think it needs more work 'cause node save doesn't work as expected (content profile fields remain unchanged).
The content profile form appears with title field in the centre of the user form... maybe it should be unset and the content profile form put wherever the user wants with the behalf of #weight attribute.
Thanks!
#3
I got this to work by commenting out the last function (function content_profile_edit_user_modify_submit) on content_profile_edit.module. Next step is to get rid of the secondary tabs that still appear when editing the profile.
#4
Got it - there's a setting in admin/content/node-type/member-profile/profile where you can hide those secondary tabs. Just replace the member-profile piece of that URL with whatever you named your Content Profile node type.
#5
subscribing