How to remove anchors in a multilang TYPO3 9.5.5

2019-08-26 12:03发布

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 >

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?

1条回答
干净又极端
2楼-- · 2019-08-26 12:16

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)

if you use CSS:
go for the typoscript.

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

查看更多
登录 后发表回答