Project

General

Profile

Actions

Feature #78450

closed

Introduce PreviewRenderer pattern

Added by Claus Due about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-10-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

A pattern should be introduced which replaces the old and somewhat messy (content) preview rendering hooks with a strategy that works not only for content and has increased capability to add things like wrapping. The current preview rendering can be moved to a standard implementation.

After this is done, the following should be considered:

  • Deprecation of content preview hooks (schedule for complete removal)
  • Extraction of fluid based preview rendering to a separate PreviewRenderer which can be reused and configured not only using pageTSconfig

The registration of PreviewRenderer should be performed in TCA and done in a way that allows one PreviewRenderer per CType and "record type". And by creating a custom PreviewRendererResolver implementation it becomes possible to dynamically return renderer based on other record/table parameters.


Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #90528: Init more properties of PageLayoutView in StandardContentPreviewRendererClosed2020-02-25

Actions
Related to TYPO3 Core - Bug #90554: Access to an undefined property TYPO3\CMS\Backend\Preview\StandardContentPreviewRenderer::$record.ClosedDaniel Goerz2020-02-27

Actions
Related to TYPO3 Core - Bug #90598: Initialize emulated PageLayoutView before calling hooksClosed2020-02-29

Actions
Related to TYPO3 Core - Bug #90556: TYPO3 Exception: htmlspecialchars() expects parameter 1 to be string, null given ClosedGeorg Ringer2020-02-27

Actions
Related to TYPO3 Core - Bug #91920: Fluid Plugin Preview of extensions not possible by TSconfigClosedStefan Froemken2020-08-03

Actions
Related to TYPO3 Core - Task #90348: PageLayoutView and BackendLayout should be refactored to separate rendering, processing and fetching of contentClosed2020-02-10

Actions
Actions

Also available in: Atom PDF