regisztrációs űrlap

fecske95 képe

Ezt a formot szeretném megjeleníteni és életre kelteni a regisztrációs űrlapon...

$form['contact']['contact'] = array('#type' => 'checkbox',
'#title' => t('Personal contact form'),
'#default_value' => !empty($edit['contact']) ? $edit['contact'] : FALSE,
'#description' => t('Allow other users to contact you by e-mail via your personal contact form. Note that while your e-mail address is not made public to other members of the community, privileged users such as site administrators are able to contact you even if you choose not to enable this feature.', array('@url' => url("user/$user->uid/contact"))),
);

user.modulba beillesztve meg is jelenik de ez nem túl szép megoldás! ???

a másik gondom, hogy az értékét a regisztrációnál, hogy adjam át a user_save() függvénynek...?

Előre is köszönök minden hozzászólást!

Drupal verzió: