belsignum / powermail-country
基于 static_info_tables 提供更多选项以改进国家选择
11.2.3
2024-07-24 13:05 UTC
Requires
- in2code/powermail: >=8.0.0 <=10.9.99
- sjbr/static-info-tables: >=6.9.6
- typo3/cms-core: ^10.4 || ^11.5
README
改进 Powermail 选择选项列表
- 选项值:选择以下之一
- ISO 3166-1 A2/A3 国家代码
- 英文简称
- 自定义列表
- 限制
- 所有 static_countries
- 欧洲联盟 (EU)
- 联合国 (UN)
- 领土选择列表
- 标签值尊重当前语言和 static_info_tables_* 修改
- 可用的 Hook 以修改选项列表
- 动态添加 ISO 3166-1 A2/A3 格式选项的可用州列表
- 通过 TypoScript 可进行自定义映射
要求
- static_info_tables
- powermail
安装
- 通过 composer req belsignum/powermail-country 安装
- 添加静态模板
后端
前端
自定义县映射
# Custom County Mapping
plugin.tx_powermailcountry.settings.mapping {
country_zones {
MX {
AG = Aguascalientes
BC = Baja California
BS = Baja California Sur
...
}
MEX < .MX
}
}
变更日志
- 11.2.0 - 添加英文简称和自定义格式选项
- 11.1.0 - 添加相应的县选择
- 11.0.0 - 支持 TYPO3 v11 (感谢 Frank Gerards)