mikemartin/helpscout-beacon
最新稳定版本:v1.0.4
Composer 安装命令:
composer require mikemartin/helpscout-beacon
包简介
Make it easy for clients to get help and access their support history.
README 文档
README
HelpScout Beacon for Statamic
Make it easy for clients to get help and access their support history.
The HelpScout Beacon for Statamic makes it easy for you to provide support to your Statamic clients. Your clients can send messages, view help docs and access their support history securely from their Statamic control panel.
You can additionally have a public-facing Beacon for your authenticated visitors. This beacon is visible whenever a user is authenticated and on your site.
Installation
- Require the package using Composer.
composer require mikemartin/helpscout-beacon
Control Panel Beacon
-
Add your Beacon ID to your
.envfile. In your HelpScout Beacon Settings, head to the Installation tab and copy the Beacon ID from the web installation code.HELPSCOUT_BEACON_ID=your_beacon_id -
Add your Beacon Secret Key to your
.envfile. In your HelpScout Beacon Settings, head to the Contact tab and enable the “Support history security” toggle. Your secret key will be revealed. Make sure to Save at the bottom of the page.HELPSCOUNT_BEACON_SECRET=your_beacon_secret_key
Public Beacon
- Set the environment variables
HELPSCOUT_PUBLIC_BEACON_IDandHELPSCOUT_PUBLIC_BEACON_SECRET_KEYaccordingly. - Use the tag
{{ beacon:js }}to instantiate the Beacon on your site. Keep in mind that the document body will need be to be accessible for it to load, hence the tag should be placed near the end of the body.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 444
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-17