rendered links in HTML element in typo3 9

谁都会走 提交于 2019-12-11 16:43:43

问题


Default behaviour of Typo3 is that Typo3-Links are not rendered in a HTML-element. There is a workaround, see here: How to get rendered links of a HTML element in TYPO3 7.6

Unfortunately, in Typo3 9.5.7 this seems not to work. As described above, I replaced html.html by this:

<f:format.htmlentitiesDecode>
    <f:format.html parseFuncTSPath="lib.parseFunc">
        {data.bodytext}
    </f:format.html>
</f:format.htmlentitiesDecode>

I also replaced html.html by this, did't work for me:

<f:format.html>{data.bodytext}</f:format.html>

In the HTML-element I tested these variations of links, but none works:

<a class="download-link" href="t3://file?uid=107" target="_blank">Download (PDF)</a>
<link t3resources/cms/pdf/linux.pdf>Administration von Linux-PCs</link>
<link 27>Linktext</link>

来源:https://stackoverflow.com/questions/56473965/rendered-links-in-html-element-in-typo3-9

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