When creating taxonomy terms there is a custom descriptiom box called 'Term description textarea'. Is there a way to remove it?
Asked
Active
Viewed 1,749 times
1 Answers
5
The quickest way I can think is to alter the form in a custom module (just tested this and it worked):
function mymodule_form_taxonomy_form_term_alter(&$form, &$form_state, $form_id) {
$form['description']['#access'] = FALSE;
}

Clive
- 36,918
- 8
- 87
- 113
-
That was pretty much the way I was going down the only problem is I am using 'seven' administration theme, so did it but only works on that theme (in the template.php). So what you are saying is I create a custom module called form_tidy and tidy up all my unwanted fields using that module? – LeBlaireau Nov 12 '11 at 10:23
-
1Yep exactly, if you put the code in a module it'll run regardless of what theme is being used at the time – Clive Nov 12 '11 at 14:33