wbrowar/craft-communicator
Composer 安装命令:
composer require wbrowar/craft-communicator
包简介
Tools that communicate project-specific information between clients, admins, and developers.
README 文档
README
Tools that communicate project-specific information between clients, admins, and developers.
For users of Guide 1.3.x and below: This plugin is a replacement for the three widgets that are included in Guide. These three widgets and all of their data will be removed from Guide in a future update: Website Updates, Welcome Widget, and Email Support.
Requirements
This plugin requires Craft CMS 3.1.1 or later.
Installation
Communicator can be installed through the Craft CMS Plugin Store, or by following these instructions:
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require wbrowar/craft-communicator -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Communicator.
Communicator Overview
Communicator has three major features:
Changelog
A record of changes that have been made to the website or CMS that appears on a widget and in its own CP section.
Changelog includes:
- A CP section that shows all changelog entries.
- A widget that can be configured to show a desired amount of changelog entries.
Global Widget
Widget content that is created once and distributed to all users who have the widget on their dashboard.
Global Widget includes:
- A widget that renders the content pulled from a single source.
- A CP section that allows permitted users to create and update content in either Markdown or Twig formats.
Email Support
A widget that provides an email support form that can include details about the browser your client is using.
Configuring Communicator
Changelog Configuration
- To view the Changelog CP section, the
Access Communicatoris required. - The
Edit Changelogspermission is required to add and remove changelog entries.
Global Widget Configuration
- To view the Global Widget CP section and edit Global Widget content, both the
Access CommunicatorandEdit Global Widgetpermissions are required.
Email Support Configuration
- Before a user may submit a support email, at least one support contact must be added.
- Support contacts can be added on the Communicator plugin settings page.
- The email form may be disabled in Communicator plugin settings, and doing so will display the support contact‘s email and—if provided—phone number.
All features are enabled by default, however, if you don‘t need a specific feature, the Communicator plugin settings page will allow you to completely disable a feature. Disabling a feature will not remove its widgets from user dashboards. A message will state that the feature is disabled and that the widget can be removed.
Using Communicator
Using Changelog
- A user may add the Changelog widget to their dashboard and can configure the amount of changelog entries shown.
- They can also get to the Changelog CP section by clicking on the
Changelogsidebar link or the button that appears at the bottom of the widget. - Users with the ability to
Edit Changelogswill see a form on the Changelog CP page that lets them add a new changelog entry.- Changelog entries use Markdown for rendering.
- A template is provided to make editing easier, but it can also be ignored if this is not the desired format.
- Using the specific headers,
Added, Changed, Fixed, Deleted, as any level of header element,H1, H2, H3, H4, H5, H6, will result in specific styling and an appropriate emoji symbol.- For example,
# Addedwill be converted to🚀Added
- For example,
- Changelog entries can be removed by clicking on the
Deletebutton next to each entry.
Using Global Widget
- A user may add the widget that displays the Global Widget header and content and there is nothing to configure.
- If the Global Widget content is in Twig format, the information will be shown in context for the logged in user.
- Users with the
Edit Global Widgetpermission, may visit the Global Widget CP section to edit the Global Widget content.
Using Email Support
- Users who add the Email Support widget to their dashboard will be required to select a support contact before submitting a support email.
Communicator Roadmap
Some things to do, and ideas for potential features:
- Provide a way to use a template path for Global Widget content so boilerplate content may be used from one project to another.
- Disable the ability for a user to select their contact person in the Email Support widget by providing default contact information for specific users.
- Add priorities to support emails and reflect that in the subject of the email.
Brought to you by Will Browar
wbrowar/craft-communicator 适用场景与选型建议
wbrowar/craft-communicator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.01k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2019 年 01 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cms」 「Craft」 「craftcms」 「craft-plugin」 「communicator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wbrowar/craft-communicator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wbrowar/craft-communicator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wbrowar/craft-communicator 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Expand, collapse, change the status of, or delete multiple blocks in a Matrix field simultaneously.
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Integrate with Snipcart.
Restrict user registration by domain in Craft CMS, allows you to limit who can register for your site based on their email address.
统计信息
- 总下载量: 6.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-18
