TYPO3 8.7 cannot override fluid content templates

I tried to override the content elements of stylized content, but it does not work at all in the latest version of TYPO3 version 8.7.0.

I have a template extension (key: biv_main) in which I add my template templates:

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/ } } } 

TypoScript in Backend via TS Object Browser looks right for me: Screenshot of TypoScript Browser object - lib.fluidcontent

I copied the entire template, part, and layout folder with each file in it from sysext fluid_styled_content, so that every content element needs to be redefined.

This is my folder structure in the template extension:

 biv_main -- Resources -- Private -- Content -- fluid_styled_content -- Layouts -- Partials -- Templates 

The folders contain the same files as sys-ext liquid_styled_content / Resources / Private /

A static template template for Fluid content elements is loaded before the biv_main template extension.

Do you have any ideas or clues about what is missing and why it doesn't work?

+5
source share
1 answer

TypoScript Library Changed Overriding FLUID Templates

So you need to override lib.contentElement instead of lib.fluidContent

+11
source

Source: https://habr.com/ru/post/1268279/


All Articles