0

On my TYPO3 website (v6.2) I use CE backend Layout to allow my teammates to insert content easily. Problem : tag are automatically generated and break all my layout (seems like html anchors to inserted content). This is what it looks like :

<ul id="timeline">

    <a id="c3837"></a>
    <li> CONTENT HERE</li>

    <a id="c3842"></a>
    <li> CONTENT HERE</li>

    <a id="c3845"></a>
    <li> CONTENT HERE</li>

</ul>

I tried several fix to remove them :

tt_content.stdWrap.innerWrap.cObject.default >

tt_content.stdWrap.innerWrap >

tt_content.stdWrap.innerWrap.cObject.default.10.cObject.default.value =

... with no success. Do you have any idea to solve this issue ? Thanks !

Daniel
  • 6,916
  • 2
  • 36
  • 47
Paolito75
  • 558
  • 1
  • 11
  • 33
  • you are trying to remove the CE default anchors, but I would assume the anchors are inserted from the gridelements CE. Have a look to the gridelement definition. (Fluid or typoscript) – Bernd Wilke πφ Oct 25 '17 at 06:47
  • Hi @BerndWilkeπφ, you are right : the
  • elements are generated by others gridelements CE but I tried to apply the same fixes on it.
  • – Paolito75 Oct 26 '17 at 08:39
  • if you can't influence the generation of these anchors with typoscript, they might be generated with fluid. if you use FSC instead of CSC look for the layout definitions of FSC – Bernd Wilke πφ Oct 26 '17 at 09:08
  • The children are 100% Typoscript : lib.gridelements.MYCHILD < .defaultGridSetup, and then tt_content.gridelements_pi1.20.10.setup.timeline_child < lib.gridelements.MYCHILD – Paolito75 Oct 26 '17 at 13:45
  • By the way, the problem seems to occur only in one language, not the other one. May be a clue of problem ? – Paolito75 Oct 26 '17 at 15:09
  • If you have translated records, two anchors are generated: one in the usual way for the uid of the record, but also another for the uid of the record in default language. In this way a link with the anchor to the uid of default lang would work in every language and could also be translated. – Bernd Wilke πφ Oct 27 '17 at 05:17
  • Hi Bernd, in my case the unwanted html anchor is "" and 2665 is the uid of the translated record in the second language (the green frame in this picture : http://nsa39.casimages.com/img/2017/10/27/171027104858822829.jpg). Still don't understand how to remove it ? – Paolito75 Oct 27 '17 at 08:27