简体   繁体   English

在TYPO3 6.1中,如何仅为图像配置CSC内容回退

[英]In TYPO3 6.1, how to configure CSC content fallback only for images

In a dual-language (single-tree) TYPO3 6.1, I have a completely regular texpic content element. 在双语言(单树)TYPO3 6.1中,我有一个完全规则的texpic内容元素。

TSConfig: mod.web_layout.defLangBinding = 1 TSConfig: mod.web_layout.defLangBinding = 1

TypoScript: TypoScript:

config.sys_language_overlay =1

temp.lead < styles.content.get
temp.lead.select.where = colPos = 2

How can I tell css_styled_content to use the image from the main language if no other image is specified? 如果未指定其他图像,如何告诉css_styled_content使用主要语言的图像?

Setting config.sys_language_mode = content_fallback won't help, as we only want images to fall back, no Text. 设置config.sys_language_mode = content_fallback将无济于事,因为我们只希望图像回退,而没有Text。

The original image is appearing in the localised record, but greyed out: 原始图像显示在本地化记录中,但显示为灰色:

在此处输入图片说明

There is a slightly hidden button to the right of that entry that editors can use to localise that file reference: 该条目的右边有一个稍微隐藏的按钮,编辑者可以使用它来本地化该文件引用:

在此处输入图片说明

Once localised, the reference works as expected. 本地化后,参考即可按预期工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM