Feature #78450

Introduce PreviewRenderer pattern

Added by Claus Due about 4 years ago. Updated 11 months 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

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

Updated by Gerrit Code Review about 4 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

#2

Updated by Gerrit Code Review about 4 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

#3

Updated by Gerrit Code Review about 4 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

#4

Updated by Gerrit Code Review about 4 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

#5

Updated by Gerrit Code Review about 4 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

#6

Updated by Gerrit Code Review about 4 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

#7

Updated by Gerrit Code Review about 4 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

#8

Updated by Gerrit Code Review about 4 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

#9

Updated by Gerrit Code Review about 4 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

#10

Updated by Gerrit Code Review about 4 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

#11

Updated by Gerrit Code Review about 4 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

#12

Updated by Gerrit Code Review about 4 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

#13

Updated by Gerrit Code Review over 3 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

#14

Updated by Gerrit Code Review over 3 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

#15

Updated by Gerrit Code Review over 3 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

#16

Updated by Gerrit Code Review almost 3 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

#17

Updated by Gerrit Code Review almost 3 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

#18

Updated by Gerrit Code Review almost 3 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

#19

Updated by Gerrit Code Review almost 3 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

#20

Updated by Gerrit Code Review almost 3 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

#21

Updated by Gerrit Code Review 11 months 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

#22

Updated by Gerrit Code Review 11 months 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

#23

Updated by Gerrit Code Review 11 months 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

#24

Updated by Gerrit Code Review 11 months 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

#25

Updated by Gerrit Code Review 11 months 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

#26

Updated by Gerrit Code Review 11 months 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

#27

Updated by Gerrit Code Review 11 months 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

#28

Updated by Gerrit Code Review 11 months 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

#29

Updated by Gerrit Code Review 11 months 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

#30

Updated by Gerrit Code Review 11 months 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

#31

Updated by Anonymous 11 months ago

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

Updated by Georg Ringer 11 months ago

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

Updated by Benni Mack 11 months ago

  • Status changed from Resolved to Closed
#34

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Georg Ringer 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Daniel Goerz 11 months ago

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

Updated by Oliver Hader 6 months ago

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

Also available in: Atom PDF