定制 studiomitte/ttaddress-country-relation 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

studiomitte/ttaddress-country-relation

最新稳定版本:2.0.0

Composer 安装命令:

composer require studiomitte/ttaddress-country-relation

包简介

Add a relation to static_countries in tt_address

README 文档

README

This TYPO3 extensions adds a new field to tt_address to allow a relation to the country field of EXT:static_info_tables.

Screenshot

Usage

  1. Install this extension by using composer require studiomitte/ttaddress-country-relation or by installing it in the Extension Manager
  2. Select a country in a address record.
  3. Adopt the templates and use e.g. {address.countryRelation.shortNameLocal}.

Hide previous field

Hide the country or region text field by using Page TsConfig.

TCEFORM.tt_address {
    country.disabled = 1
    region.disabled = 1
}

Migration

A basic migration script updates the relation field by checking the country field and compare it to the following fields of static_countries: cn_short_local, cn_short_en, cn_official_name_en, cn_iso_2, cn_iso_3

Call the script with

./typo3cms ttaddress_country_relation:migrate

Credits

This extension was created by Georg Ringer for Studio Mitte, Linz with ♥.

Find more TYPO3 extensions we have developed that provide additional features for TYPO3 sites.

统计信息

  • 总下载量: 5.79k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2019-10-21