Added by Niels van Kampenhout, last edited by Niels van Kampenhout on May 31, 2007  (view change)

Labels:

locking locking Delete
locks locks Delete
lock lock Delete
close close Delete
edit edit Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Hippo CMS version v6.03.00 and up

Configuration

As of version 6.03, Hippo CMS support the locking of documents currently being edited. To enable this feature, put the following line in your build.properties and rebuild the editor:

cms.use.locking=on

Any document you open in the editor will be locked. A locked document is indicated by a small yellow lock symbol in the document's icon. Hovering over the icon with the mouse will show the name of the user who locked the document.

A locked document can be unlocked (by the lock owner) in two ways:

  1. By explicitly closing the document in the editor (click on "Close document" in the toolbar). Note: don't forget to save first!
  2. By opening another document in the editor.

It is advisable to make a habit of closing your document after you finish editing (and have saved your changes!). Otherwise the document may stay locked (and therefore uneditable by other users) forever!

Lock timeout configuration

From version 6.03.06, the expire time for lock can be configure through a build property. The time after which a lock expires can be specified in seconds. For example, to have locks expire after 1 hour (3600 seconds), put the following in your build.properties:

cms.lock.timeout=3600

and rebuild. The default value for this property is -1, which means infinite (locks never expire, until document is explicitly closed).