You are here

README.txt in Enforce revision log message 6

Same filename and directory in other branches
  1. 8 README.txt
  2. 7 README.txt
IMPORTANT NOTICE
================

Enforce revlog will only be enabled for a node when a revision is about
to be created. Therefore it WON'T require users to enter a log message
when:

- The node is being created (no previous version exists)

- "Create new revision" is disabled (on the node form or set as a
  default through the content type configuration form)

Make sure that "Create new revision" is checked as the default behavior 
for the content types on which Enforce revlog is set.


USAGE
=====

- Enable the module "Enforce revlog" in admin/modules

- Go to admin/people/permissions to set the permission
  "skip revision log message" for relevant roles

- Go to admin/config/user-interface/enforce_revlog to configure the
  module and activate it on the content types where it is needed.

- Alternatively you can (de)activate Enforce revlog for a given content
  type on its content type editing form

- Now when a user without "skip revision log message" creates or reverts
  (if enabled) a node revision, he/she will have to enter a log message.

- If the "Create new revision" checkbox on the node editing form is
  unchecked while editing a node, Enforce Revlog will be disabled.
  If it's checked again, Enforce Revlog will be enabled again.


TIPS
====

On the node add/edit form, Enforce revlog will check if the property
$node->enforce_revlog is set before enabling itself. Therefore you can
define your very own conditions to set/unset $node->enforce_revlog in a
custom module.

File

README.txt
View source
  1. IMPORTANT NOTICE
  2. ================
  3. Enforce revlog will only be enabled for a node when a revision is about
  4. to be created. Therefore it WON'T require users to enter a log message
  5. when:
  6. - The node is being created (no previous version exists)
  7. - "Create new revision" is disabled (on the node form or set as a
  8. default through the content type configuration form)
  9. Make sure that "Create new revision" is checked as the default behavior
  10. for the content types on which Enforce revlog is set.
  11. USAGE
  12. =====
  13. - Enable the module "Enforce revlog" in admin/modules
  14. - Go to admin/people/permissions to set the permission
  15. "skip revision log message" for relevant roles
  16. - Go to admin/config/user-interface/enforce_revlog to configure the
  17. module and activate it on the content types where it is needed.
  18. - Alternatively you can (de)activate Enforce revlog for a given content
  19. type on its content type editing form
  20. - Now when a user without "skip revision log message" creates or reverts
  21. (if enabled) a node revision, he/she will have to enter a log message.
  22. - If the "Create new revision" checkbox on the node editing form is
  23. unchecked while editing a node, Enforce Revlog will be disabled.
  24. If it's checked again, Enforce Revlog will be enabled again.
  25. TIPS
  26. ====
  27. On the node add/edit form, Enforce revlog will check if the property
  28. $node->enforce_revlog is set before enabling itself. Therefore you can
  29. define your very own conditions to set/unset $node->enforce_revlog in a
  30. custom module.