In drupal user registration, Users should be able to choose the types which they want to subscribe to. So, how can I list Content Types (node types) in Custom Profile Registration Type?
You can retrieve all Content Types with node_type_get_names() function.
So, in hook_form_alter add:
$form['ct'] = array(
'#type' => 'checkboxes',
'#options' => node_type_get_names(),
'#title' => t('What standardized tests did you take?'),
);
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more