EE 1
EE 2
Lock Entry

Developer

Denver

3rd Party (Commercial)

License Agreement

Buy Now!

$9.95
Qty:

Compatibility

Requirements

Categories

Extension

Tags

Ever changed one entry or template at the same time with another editor? No worries, this Lock Entry add-on will help you! It will lock an entry or template as soon as an editor starts editing this item, and every other editor will be warned about the item lock. Never overwrite each others entries or templates again!

Changelog

v.2.0 (20 oct 2012) (Thanks to ILija)

  • Lock Entry now also locks templates!
  • Locks are now based on session, instead of member id. This means locks still work if multiple users are logged in using the same account.
  • Croatian language file added.

v.1.0.1 (24 sept 2012) (Thanks to Darrell)

  • fixed minor bug for some (older) PHP versions where installation of Lock Entry could fail.

v.1.0.0 (12 sept 2012)

  • released version 1.0

Features, at the editor side:

     
  • Locks an entry or template when an editor starts editing,
  •  
  • Auto updates the last activity of the editor,
  •  
  • Still works while multiple users are logged in using the same account.

Features, at the other side:

     
  • Shows a message if an entry or template is locked,
  •  
  • See which editor (name and emailaddress) is responsible for the lock,
  •  
  • Submit buttons are removed,
  •  
  • Lock Entry prevents the form from being submitted,
  •  
  • Fields are marked as read-only.

Upgrading?

  • Be sure to disable the Extension (via Add-Ons -> Extensions) before you install the new version.

Installation instructions

  1. Copy the lock_entry folder into your /system/expressionengine/third_party/ folder.
  2. Install the Lock Entry extension in ExpressionEngine via Add-Ons -> Extensions. Click Enable?, Select Install and click Submit.
  3. From now on, all entries will be locked automagically every time an Entry submission form (see picture) is loaded.

Other info

All entries and templates are locked as long as the editor stays at the Entry submission form (see picture) or template edit form. After the page is unloaded, either after submission or leaving the page, the lock will remain alive for 5 minutes. After 5 minutes the entry will be unlocked automatigally.

Have fun!

Have fun, and never overwrite revisions of entries of each other!

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. cp_js_end
  2. sessions_end
  3. entry_submission_absolute_end
  4. publish_form_entry_data
  5. edit_template_start

This entry was created September 17, 2012, 9:26 am.
This entry was last updated October 20, 2012, 6:33 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

2 Reviews:

Marc Tiedemann 12.13.12

Marc Tiedemann
Rating - {addon_rating_average}

Basiclly cool when working in a team, but having the same problem as Stinkotter: breaks our Zoo Flexible Admin installation (An Error Was Encountered
Unable to load the requested language file: language/english/lock entry_lang.php) and I can’t find any contact info…

Stinkotter 12.04.12

Stinkotter
Rating - {addon_rating_average}

Looks promising, but it breaks our Zoo Flexible Admin plugin (top navigation disappears). Perhaps the developer can fix this?
There is no contactinfo or developerforum on Devot-ee for this plugin so I had to ask it here.

Thanks in advance