开发者

Hide "Authoring information", "Menu Options" and "Publishing Options" in node creation form

开发者 https://www.devze.com 2022-12-21 23:15 出处:网络
I want to hide these fieldset开发者_高级运维s in a Drupal 6 site for some content types (not for all of them), because these options are unnecessary and confusing to the end user.

I want to hide these fieldset开发者_高级运维s in a Drupal 6 site for some content types (not for all of them), because these options are unnecessary and confusing to the end user.

How can I do this?

Thank you!


NodeFormCols sounds like the module your after. As well as hiding fieldsets, you can control the order they will appear in, and whether or not they should be collapsed.

As well as that the "Hide publishing options" module allows you to pick which checkboxes to hide within the publishing options fieldset.


If you are talking about when editing a node, this is related to permissions, so those fieldsets will only be displayed according to the user who is editing the node.

If you want to hide them, you could use hook_form_alter to alter the $form array. You have to be careful about this, so it wont be impossible for users to edit the those sections of the node.


Go to Site Building ->Themes ->Select the particular theme and CLICK "Configure" link. You can see various settings, in which you go to Theme-specific settings ->Node Settings ->Author&Date

Make the changes you need and its done!

(This will be easy if we are using a contributed or custom theme)


Check out the Simplify Node Add module.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号