在 TYPO3 8.7 中,我试图覆盖Textpic.html
来自 fluid_styled_content 的文件,以便我可以对 textpic 内容元素使用自己的渲染。
只要我修改扩展本身内的原始文件,就可以正常工作。
但是,我想创建自己的该文件副本并使用该副本。这不起作用 - TYPO3 不使用我自己的文件版本。
这是我所做的:
在我的 TypoScript 模板的设置字段中,我添加了:
lib.contentElement.templateRootPaths.100 = /fileadmin/template/Templates/
然后我Textpic.html
从复制fluid_styled_content/Resources/Private/Templates
到我的文件夹/fileadmin/template/Templates
中,使其变为/fileadmin/template/Templates/Textpic.html
.
任何提示,我可能会错过什么?