Features
- Concurrent editing:The user gets notified when he tries to edit a node, which is edited by someone else. He cant enter the edit mode.
- By node type: Configure content_lock to lock only specific nodes.
- By format: Configure content_lock to lock only specific input formats.
- No losing content by accident: User gets notified, if he wants to leave a edit form by abnormal conditions (close browser/window/link click). If the user confirms to leave, the edit lock gets automatically removed by an ajax call. You can disable this behavior in the admin menu.
- No forgotten locks: The user gets notified when he forgets to unlock a node. He/she will be
asked to click on a link to unlock this node. - Views integration: Show all open locks using any filters, as you have a views integration.
Compatibility / Dependencies
Server Dependencies
- none
Client Browser Dependencies
- none
Installation
- Just download and activate the module
- Configure the user permissions
- check out documents - This enables content locking when a user starts
editing it. Note that even without this permission, users are still
able to edit contents, they're just not protected against concurrent
edits. - administer checked out documents - View and release locked contents of all
users. This enables the administrative tab on Content management >>
Content. Note that even without this permission, users can manage their
own content locks on their profile page.
- check out documents - This enables content locking when a user starts
Goals
Be safe
The main goal is to be 100% safe. That means that in no case a user should be able to edit a node, which is currently edited. Its rather chosen to be more user-unfriendly then removing the edit lock to early. In example the user can only remove that lock using save or the cancel button. Moving backwards in the browser or closing the browser does not yet unlock the node. Therefore the user will be notified and he can use a simple link to unlock the node (if he wishes too).
API
We have moved the API documentation to http://drupalcontrib.org/. The hooks are currently documented in content_lock.api.inc.
Maintainers
This plugin was sponsored by KontextWork GbR for Drupal Wiki
If you like the module, please write a comment here http://drupal.org/node/711000 to motivate people working on it!
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 1329 sites currently report using this module. View usage statistics.
- Last modified: July 12, 2011