小编Kla*_*ert的帖子

TYPO3 8.7无法覆盖Fluid Styled Content模板

我试图覆盖Fluid Styled Content元素,但它在最新的TYPO3版本8.7.0中根本不起作用.

我有一个模板扩展名(key:biv_main),我在其中添加了我的重写模板pathes:

lib {
fluidContent {
        templateRootPaths {
            30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Templates/
        }
        partialRootPaths {
            30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Partials/
        }
        layoutRootPaths {
            30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Layouts/
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

通过TS对象浏览器在后端的TypoScript看起来对我来说是正确的: 截图TypoScript对象浏览器 - lib.fluidcontent

我已经从sysext fluid_styled_content复制了整个模板,partial和layout文件夹及其中的每个文件,因此应该覆盖每个内容元素.

这是模板扩展中的文件夹结构:

biv_main
-- Resources
  -- Private
    -- Content
      -- fluid_styled_content 
        -- Layouts
        -- Partials 
        -- Templates
Run Code Online (Sandbox Code Playgroud)

在文件夹中的文件与sys-ext中的文件完全相同fluid_styled_content/Resources/Private /

Fluid Content Elements的静态typoscript模板在模板扩展名biv_main之前加载.

你有什么想法或线索有什么遗漏,为什么它不起作用?

typo3 typoscript fluid-styled-content typo3-8.x

6
推荐指数
1
解决办法
5310
查看次数