This patch adds three options for removing the revision log field:

* Enabled (if revisions are enabled)
* Only show when user has View Revisions permission
* Disabled (for all users)

The patch uses the #access attribute on the revision_information node of the form object. This is a good way to hide stuff because it's still available to the submit handler, however it doesn't actually get hidden for user 1 (because user_access() always returns true for them).

After spending years telling users to "just ignore that field" for the revision log field, it would be GREAT to have a module that could hide it.

I'm really enjoying this module, btw!

CommentFileSizeAuthor
nodeformsettings-revisionlog.patch1.68 KBjjeff

Comments

lelizondo’s picture

I'll try the patch tomorrow and commit it if it works, I love the idea. Thanks.

lelizondo’s picture

Status: Needs review » Fixed

committed. thanks Jeff

jjeff’s picture

Hooray!

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.