如何在多语言 TYPO3 9.5.5 中删除锚点 [英] How to remove anchors in a multilang TYPO3 9.5.5

查看:17
本文介绍了如何在多语言 TYPO3 9.5.5 中删除锚点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的排版设置中尝试了 这个堆栈溢出主题描述:

I tried in my typoscript setup as this stack overflow topic describes:

tt_content.stdWrap.dataWrap >
tt_content.stdWrap.prepend.dataWrap >
tt_content.stdWrap.innerWrap.cObject.66.10 >

但是在我的 TYPO3 9.5.5 multilang 中没有任何效果.在我的语言 id=0 中,我没有锚点(即使没有 tt_content.stdWrap).在我的语言 id=1 中,我无法摆脱它.

But nothing works in my TYPO3 9.5.5 multilang. In my language id=0 I do not have anchors (even without the tt_content.stdWrap). In my language id=1 I cannot get rid of it.

您有解决方案或一些有用的提示吗?

Do you got a solution or some helpful hint?

推荐答案

如果您使用 FSC:
在布局文件 (ext:fluid_styled_content/Resources/Private/Layouts/Default.html) 中,您将找到以 {data._LOCALIZED_UID} 为条件的锚点.
默认语言没有锚,因为周围的 div 有一个匹配的 id 属性.(你可以无条件地用你自己的布局文件覆盖它)

if you use FSC:
in the layoutfile (ext:fluid_styled_content/Resources/Private/Layouts/Default.html) you will find the anchor conditioned by {data._LOCALIZED_UID}.
The default language has no anchor as the surrounding div has a matching id attribute. (you can override it with your own layout file without condition)

如果您使用 CSS:
去看看打字稿.

if you use CSS:
go for the typoscript.

因为 CSC 和 FSC 可能因 TYPO3 版本而异,用于移除锚点的代码段也可能有所不同.

as CSC and FSC may vary with the TYPO3 versions snippets for removing the anchor may vary also.

这篇关于如何在多语言 TYPO3 9.5.5 中删除锚点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆