diff --git a/Classes/Hooks/PageLayoutController.php b/Classes/Hooks/PageLayoutController.php index 253737b2c6dfe06c70bfcd236e6ded809e40d4ac..b960292e0ca69c32258215203d7c88e64b9ba5db 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 9afc78e3bafed7f16ff66441ba06742b01bbbb21..0e4cd886a608468880b9cee9dc0b966d49fe3f07 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -6,3 +6,6 @@ services: SGalinski\SgNews\: resource: '../Classes/*' + + SGalinski\SgNews\Preview\PreviewRenderer: + public: true