How to remove anchors in a multilang TYPO3 9.5.5

别说谁变了你拦得住时间么 提交于 2019-12-13 04:11:45

问题


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:


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.



来源:https://stackoverflow.com/questions/55899871/how-to-remove-anchors-in-a-multilang-typo3-9-5-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!