views:

91

answers:

1

Im using theme_user_profile_form($form) and putting in the line

unset ($form['timezone']);

But it doesnt remove that item from the page

I try:

theme_preprocess_user_profile_form

but it doesnt appear to work.

All I want to do is remove some portions of the user profile edit form, such as theme select, timezone etc

+2  A: 

The easiest way to do it, is to use hook_form_alter. This needs to be in a custom module and not in your theme.

googletorp