By tchivoan1972 on
hi I am trying to write a page callback that lets site admin to create a specific type of user. I would like the admin to have the option to create the regular user when he click the add user tab and i would also like to create another tab to create a different type of user, how would I go about doing this? I have create the menu it fine but the callback page is the problem, i tried useing the hook form_user_register_alter as my callback function with the add form element that i wanted but it didn't work.
Comments
to create another tab
to create another tab at admin/user/user
add this and clear cache.
also in callback you have to create a form and its submit function.