belsignum/powermail-country

基于 static_info_tables 提供更多选项以改进国家选择

安装: 33

依赖项: 0

建议者: 0

安全性: 0

星级: 1

关注者: 2

分支: 1

开放问题: 0

类型:typo3-cms-extension

11.2.3 2024-07-24 13:05 UTC

This package is auto-updated.

Last update: 2024-09-24 13:33:16 UTC


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 安装
  • 添加静态模板

后端

Powermail Country Select option configuration

前端

Powermail Country Select Powermail Country Select with corresponding County

自定义县映射

# 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)