Hi,
it would be nice, to have a integration with content_profile_user_registration, which is a submodule of content_profile.
Might be be useful, i wrote a litle helper-module for that purpose:
function mymodule_form_fbconnect_register_form_alter(&$form, &$form_state){
// setting $form_id for content_profile_registration_form_alter()
$form_id = 'user_register';
content_profile_registration_form_alter($form, $form_state, $form_id);
...
}
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fbconnect_content_profile_registration-6-x.tar_.gz | 625 bytes | fl3a |
Comments
Comment #1
michaeldrupal commentedHi fl3a,
it's really nice you wrote it. I need this submodule, but how to use it? Thx!
Comment #2
fl3a commentedhi michaeldrupal,
i don't really understand,
think you mean the snippet above the so called "submodule" content_profile_user_registration is included into content_profile.
To use that snippet above you will need to write an .info-file which contain something like this:
Comment #3
buddachanged title back to something meaningful.
@fl3a could you provide the module as an attachment as it could be included as a contrib with fbconnect project.
Comment #4
fl3a commentedsure,
here it is :D
Comment #5
vectoroc commentedComment #6
vectoroc commentedI think it should work without any addition submodule. So the issue is in fbconnect_register_form