From fc4c3ec29f62a5432be9da7ef3caec42bc9fd5c5 Mon Sep 17 00:00:00 2001 From: Matthias Adrowski <matthias.adrowski@sgalinski.de> Date: Tue, 11 Jan 2022 09:29:14 +0100 Subject: [PATCH] [TASK] Add atleast one necessary public module, fix wrong Doc-Header --- Classes/Hooks/PageLayoutController.php | 3 +-- Configuration/Services.yaml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Classes/Hooks/PageLayoutController.php b/Classes/Hooks/PageLayoutController.php index 253737b..b960292 100644 --- a/Classes/Hooks/PageLayoutController.php +++ b/Classes/Hooks/PageLayoutController.php @@ -39,8 +39,7 @@ use TYPO3\CMS\Extbase\Utility\LocalizationUtility; class PageLayoutController { /** - * Sets the default value for the pages author field - * to the name of the logged-in user + * Adds a Button to News-Pages which allows the user to switch to the News module * * @param array $parameters * @param CorePageLayoutController $controller diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml index 9afc78e..0e4cd88 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -6,3 +6,6 @@ services: SGalinski\SgNews\: resource: '../Classes/*' + + SGalinski\SgNews\Preview\PreviewRenderer: + public: true -- GitLab