prgfx/neos-linkeditor
Composer 安装命令:
composer require prgfx/neos-linkeditor
包简介
Neos Link-Editor extension for editing query arguments for example to edit tracking parameters.
README 文档
README
Prgfx.Neos.LinkEditor
Allows configuring inputs for query arguments in the link-editor. Intended for adding tracking parameters.
composer require prgfx/neos-linkeditor
Usage
My.Package:NodeType: properties: text: ui: inline: editorOptions: linking: linkAttributes: # specify the label for a single query argument utm_campaign: Campaign # more options can be specified in an object utm_source: label: UTM source help: Description for this parameter # all labels accept translation IDs other: label: My.Package:Main:i18nLabel placeholder: Example value # unset attributes or attributes without label are ignored ignored_attribute: ~
Group Inputs
In case you have multiple types of inputs, you can group them in a "meaningful" way:
# ... linking: linkAttributes: utm_campaign: label: Campaign group: tracking
Groups can be configured in the frontend settings:
Prgfx: Neos: LinkEditor: parameterGroups: tracking: # supports MyPackage:Source:key translation keys as well label: Tracking parameters # optional; if a value is set in that group, the group will always be expanded collapsed: true
The default group is called default, in case you want to overwrite its settings.
Augment Links
For similar use-cases you may want to append additional arguments to links in certain contexts, e.g. set a "utm_source" argument in your email or RSS rendering.
For this you can overwrite the Prgfx.Neos.LinkEditor:AdditionalArguments fusion prototype:
prototype(My.Package:RssItem) {
prototype(Prgfx.Neos.LinkEditor:AdditionalArguments) {
utm_source = 'rss'
}
}
The attributes will be appended to links going through Neos.Fusion:UriBuilder, Neos.Neos:NodeUri and Neos.Neos:ConvertUris.
You can disable this behavior with the respective settings:
Prgfx: Neos: LinkEditor: augmentLinks: NodeUri: true UriBuilder: true ConvertUris: true
Note
This package overwrites the default LinkEditor to allow passing additional linking options to enable the parameter editor in the inspector editor. You can disable this behavior in the settings:
Neos: Neos: Ui: frontendConfiguration: Prgfx.Neos.LinkEditor: linkEditor: replace: false
See the package settings for more information
prgfx/neos-linkeditor 适用场景与选型建议
prgfx/neos-linkeditor 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 404 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 09 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Neos」 「querystring」 「neoscms」 「linkeditor」 「query arguments」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 prgfx/neos-linkeditor 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 prgfx/neos-linkeditor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 prgfx/neos-linkeditor 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
An improved history backend module for Neos
Graphical analysis & visualizer for the Neos CMS nodetypes as backend module
Query String manipulation library. PHP 7.1+. No dependency, immutable, PSR-7 compliant.
Sync files from various sources to neos assets.
Create link to static resources with cache-breaking segment based on md5 of the file
A plugin for Neos CMS which provides a toggle editor.
统计信息
- 总下载量: 404
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2023-09-25