[FEATURE] Preview of plugins in the backend
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-79225-PluginPreviewWithFluid.rst
1 .. include:: ../../Includes.txt
2
3 ===========================================
4 Feature: #79225 - Plugin preview with Fluid
5 ===========================================
6
7 See :issue:`79225`
8
9 Description
10 ===========
11
12 The page TSconfig to render a preview of a single content element in the Backend has been improved
13 by allowing the rendering of plugins now as well.
14
15 The following option allows to override the default output of a plugin via page TSconfig:
16
17 .. code-block:: typoscript
18
19 mod.web_layout.tt_content.preview.list.example = EXT:site_mysite/Resources/Private/Templates/Preview/ExamplePlugin.html
20
21 All properties of the tt_content record are available in the template directly.
22 Any data of the flexform field `pi_flexform` is available with the property `pi_flexform_transformed` as an array.
23
24 .. note::
25
26 If a PHP hook already is set to render the element, it will take precedence over the Fluid-based preview.
27
28 .. index:: Backend, Fluid