adigital/help-links
Composer 安装命令:
composer require adigital/help-links
包简介
Define useful links to be added to the dashboard for clients.
README 文档
README
Define useful links to be added to the dashboard for clients.
Requirements
This plugin requires Craft CMS 5.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require adigital/help-links -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Help Links.
Help Links Overview
This widget can be used to display useful links on the dashboard for clients. You can create as many headings as you need in the plugin settings to separate out the content clearly. Each link can have a title, url, and additional comment. This plugin was inspired by the talk Katie Fritz gave at dot all 2018 in Berlin about Prioritising Author Experience.
Configuring Help Links
Create your section headings in the plugin settings page. Then click Help Links in the sidebar and configure the links for each of these headings you have created.
Pre Populating Help Links
If like us, you are going to be using this for multiple clients but most of the links will remain the same, then you can pre-populate your settings and links for this plugin. There are 2 ways of doing this.
Import / Export using the plugin
We've created an Import / Export page within the plugin which you can use. Once you have manually populated the links on one site, you can export these to a JSON formatted file. This file can be imported into a clean install, and it will then generate all of your links for you. From here you can then edit them as needed to make them site specific. This is our recommended method for pre-populating your links.
Use a migration
You can also create a content migration and run it within the CMS once the plugin is installed. You can then edit the settings in the usual way as needed.
A code example can be found below for setting up a migration to run with this plugin, just make sure you add use adigital\helplinks\HelpLinks; to the top of the file.
$settings = [
"widgetTitle" => "Help Links",
"sections" => [
["Documentation"],
["Support"]
]
];
HelpLinks::$plugin->helpLinksService->updateSettings($settings['widgetTitle'], $settings['sections']);
$request = [];
$request["heading"] = "Documentation";
$request["position"] = "1";
$request["links"][] = [
"Test",
"https://www.test.com",
"This is a test"
];
$request["links"][] = [
"Another",
"https://www.google.co.uk",
"(Google)"
];
HelpLinks::$plugin->helpLinksService->generateSection($request);
$request = [];
$request["heading"] = "Support";
$request["position"] = "2";
$request["links"][] = [
"Zendesk",
"https://adigital.zendesk.com/agent/filters",
"(tickets)"
];
HelpLinks::$plugin->helpLinksService->generateSection($request);
Using Help Links
Once configured, add the widget to your dashboard.
Screenshots
Dashboard
Settings
Section Links
Rename Headings
Import / Export
Permissions
Brought to you by A Digital
adigital/help-links 适用场景与选型建议
adigital/help-links 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.04k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2018 年 10 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cms」 「Craft」 「craftcms」 「craft-plugin」 「help links」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 adigital/help-links 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 adigital/help-links 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 adigital/help-links 相关的其它包
同方向 / 同关键字的高下载量 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.
统计信息
- 总下载量: 2.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-05





