Skip to content

[FR] Full page lock screen when another admin is editing an entry #15237

Closed Answered by brandonkelly
MadMikeyB asked this question in Ideas
Discussion options

You must be logged in to vote

Craft doesn’t do this natively because it’s generally safe for two people to be editing the same entry, so long as they’re working on different fields. Craft will show indicators when other authors are on the same entry, with tooltips explaining what they’re doing (#13420), and a notification will appear when the entry has been modified upstream, with a “Reload” button.

That said, I just added a JavaScript event for Craft 5.3, which makes it possible to add this feature via a plugin or module:

if (Craft::$app->request->getIsCpRequest() && !Craft::$app->request->getAcceptsJson()) {
    Craft::$app->view->registerJs(<<<JS
(() => {
  const callback = (event) => {
    if (event.activity.some(…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MadMikeyB
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
authoring ✍️ features related to author experience
2 participants