georgringer / extbase-with-no-l10n-parent
在 extbase 中显示记录,如果这些记录的语言定义不同于 -1(全部)或 0(默认)且没有语言父级
2.0.1
2023-04-19 06:39 UTC
Requires
- typo3/cms-core: ^9 || ^10 || ^11 || ^12
Replaces
- georgringer/extbase-records-with-no-l10n-parent: 2.0.1
- typo3-ter/extbase-records-with-no-l10n-parent: 2.0.1
- typo3-ter/extbase-with-no-l10n-parent: 2.0.1
README
此扩展更改了 Extbase 的行为,以便也显示没有语言父级的记录。
示例:给定以下记录
- News 1 (in default)
- [Translated to DE] News 1 in DE (translated)
- News 2 in -1 (all)
- News 3 in DE (with no parent/default)
在翻译页面且没有此扩展的情况下,仅显示 DE 中的新闻 1 和 -1 中的新闻 2。使用此扩展,也会显示 DE 中的新闻 3。
要求
此扩展与 TYPO3 9 或更高版本兼容。如果使用 TYPO3 9.5 LTS 版本,则设置 config.tx_extbase.features.consistentTranslationOverlayHandling
必须为 1 或未设置!有关更多信息,请参阅 docs.typo3.org
用法
- 安装此扩展:使用
composer require georgringer/extbase-with-no-l10n-parent
或通过扩展管理器安装。 - 在安装工具 > 设置 > 扩展配置 > extbase_with_no_l10n_parent 中配置扩展:设置应使用更改后的行为的表。可以使用
*
或以逗号分隔的列表,如tx_news_domain_model_news,your_extension_table
。
赞助商
感谢赞助商
- 瑞士阿尔卑斯俱乐部 SAC https://www.sac-cas.ch