Prevent users from editing node headers

Is it possible to prevent the user from editing the node header on the node editing screen?

One of the things that I really hate regarding Drupal is the stiffness of the header and body fields in each node.

+3
source share
3 answers

Two ways to do this:

1) Write a hook_form_alter function to set #access to FALSE. This is very fast if you are familiar with writing modules, but if not, you will probably prefer:

2) Automatic Nodetitles, , CCK, , ( CCK) .

( , , , , .)

+5

, CCK , "", /, .

+1

- drupal7, [title module] [1]

[1]: https://www.drupal.org/project/title and turn the title into a text field, you can use [field_permissions module] [1]

[1]: https://www.drupal.org/project/field_permissions and configure it as you like by creating your own permission. The combination of these two modules is really flexible.

0
source

Source: https://habr.com/ru/post/1748734/


All Articles