定制 silverstripe/multiuser-editing-alert 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

silverstripe/multiuser-editing-alert

最新稳定版本:2.2.0

Composer 安装命令:

composer require silverstripe/multiuser-editing-alert

包简介

A module that indicates when people are editing the same page in the CMS

README 文档

README

Alerts users in the Silverstripe CMS when multiple people are editing the same page.

Maintainer Contact

Julian Seidenberg <julian (at) silverstripe (dot) com>

Requirements

Silverstripe 4.0 or newer

Installation

Run: composer require silverstripe/multiuser-editing-alert

The module is automatically enabled after flush=all.

Usage

Install the module and blue dots appear next to pages in the site tree to indicate where CMS authors are editing. If multiple authors edit the same page a red dot and large warning messages appears on the page.

The list of people editing the page is stored in the SS_Cache file (DynamoDB in Silverstripe Platform or Tmp), and running a flush clears the list of editors.

The module polls the server every 3 seconds when there are multiple users editing, but saves server cycles by polling about every 24 seconds when there is just a single content author editing. If a user logs out or closes their tab, they automatically get timed out and removed from the list of current editors.

You can just the timing of the pollings using the multiuser.yml config file. For example, if there are a huge amount of content authors editing at any one time, you might want to set update less frequently, as that might overload the server.

Extra bonus: the red and blue dots are SVG files, and therefore tiny to download.

See a video demo here

Attribution

统计信息

  • 总下载量: 29.82k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 8
  • Forks: 12
  • 开发语言: CSS

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-06-20