By sokrplare on
When adding or editing a node (ie page, jans node, etc.) the "Log message:" always appears. It can be confusing for users because they don't know where to then add the main content. How can I turn it off so it doesn't appear for anyone?
I would have thought there would be an option under admin/settings/content-types/ but I'm not seeing one.
Thanks!
Comments
hack
you could open form.inc (includes folder)
line 710
if ($element['#title'] == "Log message") {return;}
works for me although not sure if any side effects.
Override theme function
That can be done using an override theme function. In Drupal 5.x add the following to your 'template.php' file:
Source: http://drupal.org/node/204515
--
How to contribute to Drupal.
Removing my comment
Removing my comment
Changes in D6
In Drupal 6, ['log'] is a child of ['revision_information'], so you would want to change the second line to the following:
That said, instead of denying access to everyone, specify which users are allowed to access the field using user_access(). For instance:
Using this snippet, users with the "administer nodes" permission can access this field, but other users cannot.
Works as well in D6
This works as well in Drupal 6 for me. Cool!
There is a module which does this
http://drupal.org/project/removelogmessage
covenantd, You could go to
covenantd,
You could go to http://example.com/admin/settings/error-reporting (Administer -> Site Configuration -> Error Reporting), and change 'Write Errors To The Log And To The Screen' to just ''Write Errors To The Log'.