By jim0203 on
I want to remove fields, such as the "Input format" and "Log" fields, from the input form for "Story" content types, so that it is a bit cleaner looking for my website's users. Is there a simple way to do this, or do I have to use CCK?
Comments
config and hook_form_alter
The input format will only show if users have the option to use multiple filters check out Administer >> Site configuration >> Input formats. Also check your access control permissions and maybe limit what they can do.
The third option would be to use hook_form_alter and hide those fields. Check out http://api.drupal.org/api/function/hook_form_alter/5
Thanks Coltrane, that's
Thanks Coltrane, that's brilliant, especially the heads up regarding hook_form_alter which will be *really* useful!