Issue Bug Closed

#104967Auto-discover record preview templates does not seem to work

Lina Wolf 09/14/24, 05:17 updated 09/28/24, 04:31

Description

with https://review.typo3.org/c/Packages/TYPO3.CMS/+/86032 the auto discovery of preview templates for content elements was introduced.

I tried this out with https://github.com/TYPO3-Documentation/blog_example/tree/feature/preview

If I only define the path the custom template seems not to be used.

When I additionally define:
mod.web_layout.tt_content.preview.header = EXT:blog_example/Resources/Private/Templates/Backend/Preview/Content/Header.html

I get the following error on displaying the content element “header” in the backend.

Error while rendering FluidTemplate preview using /vendor/t3docs/blog-example/Resources/Private/Templates/Backend/Preview/Content/Header.html
The Fluid template files “” could not be loaded.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Lina Wolf commented and changed status New Closed 09/28/24, 04:31

    The according change was rolled back