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 #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #2

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #3

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #4

Updated by Gerrit Code Review about 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #5

Updated by Gerrit Code Review about 8 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #6

Updated by Gerrit Code Review about 8 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #7

Updated by Gerrit Code Review about 8 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #8

Updated by Gerrit Code Review about 8 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #9

Updated by Gerrit Code Review about 8 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #10

Updated by Gerrit Code Review about 8 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #11

Updated by Gerrit Code Review about 8 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #12

Updated by Gerrit Code Review about 8 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #13

Updated by Gerrit Code Review about 7 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #14

Updated by Gerrit Code Review about 7 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #15

Updated by Gerrit Code Review about 7 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #16

Updated by Gerrit Code Review almost 7 years ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #17

Updated by Gerrit Code Review almost 7 years ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #18

Updated by Gerrit Code Review almost 7 years ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #19

Updated by Gerrit Code Review almost 7 years ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #20

Updated by Gerrit Code Review over 6 years ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50389

Actions #21

Updated by Gerrit Code Review almost 5 years ago

Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #22

Updated by Gerrit Code Review over 4 years ago

Patch set 22 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #23

Updated by Gerrit Code Review over 4 years ago

Patch set 23 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #24

Updated by Gerrit Code Review over 4 years ago

Patch set 24 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #25

Updated by Gerrit Code Review over 4 years ago

Patch set 25 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #26

Updated by Gerrit Code Review over 4 years ago

Patch set 26 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #27

Updated by Gerrit Code Review over 4 years ago

Patch set 27 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #28

Updated by Gerrit Code Review over 4 years ago

Patch set 28 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #29

Updated by Gerrit Code Review over 4 years ago

Patch set 29 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #30

Updated by Gerrit Code Review over 4 years ago

Patch set 30 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/50389

Actions #31

Updated by Anonymous over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #32

Updated by Georg Ringer over 4 years ago

  • Related to Bug #90528: Init more properties of PageLayoutView in StandardContentPreviewRenderer added
Actions #33

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions #34

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #90554: Access to an undefined property TYPO3\CMS\Backend\Preview\StandardContentPreviewRenderer::$record. added
Actions #35

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #90598: Initialize emulated PageLayoutView before calling hooks added
Actions #36

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #90603: Check in fluidbased PageLayoutView for language existence added
Actions #37

Updated by Georg Ringer over 4 years ago

  • Related to Bug #90556: TYPO3 Exception: htmlspecialchars() expects parameter 1 to be string, null given added
Actions #38

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #90605: fluidbased PageLayoutView doesn't take `tables_modify` into account added
Actions #39

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #90559: After Update from 10.2.2 to 10.3.0 translation button in alternative language column is missing added
Actions #40

Updated by Daniel Goerz over 4 years ago

  • Related to Bug #90617: Page Module: No content elements displayed with mod.web_layout.defLangBinding added
Actions #41

Updated by Daniel Goerz over 4 years ago

  • Related to deleted (Bug #90605: fluidbased PageLayoutView doesn't take `tables_modify` into account)
Actions #42

Updated by Daniel Goerz over 4 years ago

  • Related to deleted (Bug #90603: Check in fluidbased PageLayoutView for language existence)
Actions #43

Updated by Daniel Goerz over 4 years ago

  • Related to deleted (Bug #90559: After Update from 10.2.2 to 10.3.0 translation button in alternative language column is missing)
Actions #44

Updated by Daniel Goerz over 4 years ago

  • Related to deleted (Bug #90617: Page Module: No content elements displayed with mod.web_layout.defLangBinding)
Actions #45

Updated by Oliver Hader over 4 years ago

  • Related to Bug #91920: Fluid Plugin Preview of extensions not possible by TSconfig added
Actions #46

Updated by Christian Kuhn almost 3 years ago

  • Related to Task #90348: PageLayoutView and BackendLayout should be refactored to separate rendering, processing and fetching of content added
Actions

Also available in: Atom PDF