Closed (fixed)
Project:
Content Profile
Version:
6.x-1.0
Component:
User registration module
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
16 May 2010 at 10:05 UTC
Updated:
5 Aug 2010 at 16:48 UTC
Hi...
I am a newbie and very new to content profiles. I actually want to theme user registration form, the fields loaded from content profile node are not appearing in $form variable of hook_form_alter.
I want to remove/unset the fieldset coming from group fields, but I am not able to get the content_profile fields in $form.
I am not sure if this is a duplicate issue. Any help would be much appreciated...
Thanks...
Comments
Comment #1
madhums commentedComment #2
madhums commentedFigured out... module weight problem...
Comment #3
rj commentedJust to clarify for people who have the same issue (like me :) : if you're using hook_form_alter to modify the content profile on the registration form, you'll need to set the module weight of the module w/hook_form_alter higher than that of content_profile_registration (tip: go to the profile node type to see content_profile fields, they're not available in $form).