【发布时间】:2018-08-17 11:43:03
【问题描述】:
在 TYPO3 8.7 中,我试图覆盖来自 fluid_styled_content 的文件 Textpic.html,以便我可以将自己的渲染用于 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。
任何提示,我可能缺少什么?
【问题讨论】:
标签: typo3 overriding typoscript typo3-8.x fluid-styled-content