Drupal Best Practice for Settings on Content Type Edit Forms?
I've been curious what is the best practice to add custom settings to the admin/content/types (drupal 6.x)
Update: Jeremy has suggested (unsurprisingly) to use hook_form_alte开发者_高级运维r(). I'll try it out and report back.
That page is generated by the node_overview_types() function, it dosn't look like there is a way to hook into it. Without intercepting the output in the theme layer and messing with it (which I wouldn't advise).
If you want to add content type settings I would suggest you do a hook_form_alter() on the content type settings form. You can also use hook_node_type_form_alter() to access this form more easily. Have a look here for an example.
精彩评论