I need hook_fom without default settings on the form like

1) Authoring informations
2) publishing options
3) comments settings
4) menu settings.

How can i create new form without having above given settings on the form. please help me if someone can.

i am using hook_form but it gets all the above given settings by default on the page. while i need a page without these settings and preview button. I tried much more but all in vain.

thanks,

Arshad

Comments

daja’s picture

Hello, I would like to know if there is a possibility to hide this information on node-edit (see post above).
Because I would like that people don't have access to modify "publishing options", "menu settings", "authoring information" when editing a node.
I didn't find any information about this possibility for Drupal 5.