From 036fd2c048bf16cbeb6cc539dd939d73739d1733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=A4u=C3=9Fler?= <elias@haeussler.dev> Date: Thu, 7 Sep 2023 21:33:23 +0200 Subject: [PATCH] [BUGFIX] Render "Before" and "After" sections in EXT:info modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With #100663, "Before" and "After" sections for backend modules were introduced. However, the appropriate <f:render> calls were applied to the main module layout in EXT:backend only. Since EXT:info provides an overridden layout, those sections were no longer rendered, leading to invalid JavaScript and missing functionalities. This is now fixed and the appropriate <f:render> calls are added to the module layout of EXT:info as well. Resolves: #101876 Related: #100663 Releases: main, 12.4 Change-Id: I4479811e974433fa1201c7fd2c12be99bf921663 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80902 Reviewed-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Stefan Bürk <stefan@buerk.tech> Tested-by: core-ci <typo3@b13.com> --- typo3/sysext/info/Resources/Private/Layouts/Module.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/typo3/sysext/info/Resources/Private/Layouts/Module.html b/typo3/sysext/info/Resources/Private/Layouts/Module.html index 146c63a94818..304c9b49438a 100644 --- a/typo3/sysext/info/Resources/Private/Layouts/Module.html +++ b/typo3/sysext/info/Resources/Private/Layouts/Module.html @@ -3,6 +3,8 @@ data-namespace-typo3-fluid="true" > +<f:render section="Before" arguments="{_all}" optional="true" /> + <div class="module {moduleClass}" data-module-id="{moduleId}" data-module-name="{moduleName}"> <f:if condition="{docHeader.enabled}"> <f:render partial="DocHeader" arguments="{docHeader:docHeader}" /> @@ -20,4 +22,6 @@ </div> </div> +<f:render section="After" arguments="{_all}" optional="true" /> + </html> -- GitLab