.. include:: /Includes.rst.txt Integrate Backend View ====================== The extension provides the possibility to generate page type-based information in the header of the web module. For each page type, a partial can be added, which can be provided with the necessary information according to your own wishes and ideas. The following steps are necessary to create a page type-based information block: Create an override TypoScript ----------------------------- .. code-block:: typoscript :caption: EXT:example/ext_typoscript_setup.typoscript module.tx_backend { view { partialRootPaths { example = EXT:example/Resources/Private/Backend/Partials/ } } } Create your partial ------------------- .. code-block:: html :caption: EXT:example/Resources/Private/Backend/Partials/PageLayout/Doktype.html
ViewHelpers ----------- In case you need image preview, this extension ships a ViewHelper for getting the image for you in backend context. This ViewHelper only works in Backend-Context, as you normally don't need it in frontend. .. code-block:: html :caption: EXT:example/Resources/Private/Backend/Partials/PageLayout/Doktype.html :linenos: :emphasize-lines: 5,11
No image