0

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Christian Michael
  • 2,128
  • 1
  • 19
  • 27
  • First, we need some info: Do you use the extension "css_styled_content" or "fluid_styled_content"? Depending on which one is used, the method to change the output of tt_content elements changes. Your snippet above usually only works with css_styled_content, which is no longer part of TYPO3 9 by default (was deprecated). – Nitori Apr 29 '19 at 09:05

1 Answers1

3

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.

Bernd Wilke πφ
  • 10,390
  • 1
  • 19
  • 38