granam/mautic-czech-vocative-bundle
Composer 安装命令:
composer require granam/mautic-czech-vocative-bundle
包简介
Modifier for first names to convert their base form to vocative in czech
README 文档
README
In your Mautic insert into an email template this shortcode around some name
[some name|vocative]
- for example
[Karel|vocative] - or better example
[{leadfield=firstname}|vocative]
hint: useCTRL+SHIFT+Vto insert copied text without formatting, also check source code of your email template by
button for unwanted formatting - also foreign and non-human names are converted to czech form
[Cassandra|vocative]=Cassandro,[android|vocative]=Androide - you can use it even in Subject of your email (unlike other shortcodes).
- always test your email before sending it to real people
Aliases
You can also set aliases to be used (and vocalized) instead of the name.
[{leadfield=firstname}|vocative(sirius,andromeda,fill your name plase!)]leading into- if
firstnameis male, let's say Roman, the result isSiriusi - if
firstnameis female, for example Gloria, the result isAndromedo - if
firstnameis empty, or from white characters only respectively, the result isFill your name please!
- if
- if you omit one of gender-dependent alias, the original name is used
[richard|vocative(,For gentlemen only!)]=Richarde[monika|vocative(,For gentlemen only!)]=For gentlemen only!(because of the trailing non-character the string is untouched)[ |vocative(Karel,Monika)]= ``[ |vocative(Karel,Monika,Batman)]=Batmane
Dynamic Web Content support
Thanks to Zdeno Kuzmany the Dynamic Web Content is also supported and processed by vocative.
Install
- Let it install by
composer require granam/mautic-czech-vocative-bundle - Clear Mautic cache by
./app/console cache:clearor just delete theapp/cachedir.- note: In some cases, not yet fully understood, the cache is not rebuilt fully automatically.
In case of fatal error because of expected but missing file in the cache, rebuilt it manually:
./app/console cache:warmup --no-optional-warmers
- note: In some cases, not yet fully understood, the cache is not rebuilt fully automatically.
In case of fatal error because of expected but missing file in the cache, rebuilt it manually:
- Log in to your Mautic as an admin, open cogwheel menu in the right top corner and choose Plugins
- Click Install/Upgrade Plugins
If everything goes well, you got new plugin GranamVocative.
Compatibility
Mautic v4.*
- virtually tested with Mautic 4.* up to 4.4
Unknown, but possible compatibility with lower versions.
Troubleshooting
If any error happens, first of all, have you cleared the cache?
Otherwise, check the logs for what happened:
- they are placed in app/logs dir in your Mautic, like
/var/www/mautic/app/logs/mautic_prod-2016-02-19.php - or, if they are more fatal or just Mautic does not catch them (error 500), see your web-server logs,
like
/var/log/apache2/error.log
Credits
The plugin has been created thanks to sponsor svetandroida.cz
and thanks to the author of free czech vocative library bigit/vokativ Petr
Joachim.
Additional thanks to vietnamisa.cz for their help with bug-fixes and improvements.
Hint for mautic Twig plugin
If you are going to create a Mautic plugin for Twig, a good start can be mautic-twig-plugin-skeleton.
granam/mautic-czech-vocative-bundle 适用场景与选型建议
granam/mautic-czech-vocative-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 18 次下载、GitHub Stars 达 3, 最近一次更新时间为 2022 年 09 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「integration」 「czech」 「salutation」 「vocative」 「Mautic」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 granam/mautic-czech-vocative-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 granam/mautic-czech-vocative-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 granam/mautic-czech-vocative-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Simple PHP library/helper for getting Czech holidays
Symfony integration for Czech bank account library
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
Invalidity check of documents in the database of Ministry of the Interior of the Czech Republic
PHP library for connection to Integrated system of data box (ISDS) in Czech republic
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-06