From de5a4421bcc4388d2afe6e397eea5d4aed28773f Mon Sep 17 00:00:00 2001 From: BobMali Date: Tue, 28 May 2024 09:41:06 +0200 Subject: [PATCH] [fix] add missing plugin name in typoscript library for new comments #8 --- .ddev/commands/web/install | 3 ++- .ddev/docker-compose.web.yaml | 1 + Configuration/TypoScript/setup.typoscript | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.ddev/commands/web/install b/.ddev/commands/web/install index 80f4d67..dda7a9f 100755 --- a/.ddev/commands/web/install +++ b/.ddev/commands/web/install @@ -12,6 +12,7 @@ composer config --no-plugins allow-plugins.typo3/cms-composer-installers true -d composer config --no-plugins allow-plugins.typo3/class-alias-loader true -d /var/www/html/ composer req t3/cms:"^$VERSION" $PACKAGE_NAME:'*@dev' --no-progress -n -d /var/www/html/ composer req --dev --no-progress -n -W -d /var/www/html/ \ + typo3/cms-lowlevel:"^$VERSION" \ friendsofphp/php-cs-fixer:'^3' \ helmich/typo3-typoscript-lint:'^3' \ michielroos/typo3scan:'^1.7' \ @@ -20,7 +21,7 @@ composer req --dev --no-progress -n -W -d /var/www/html/ \ cd /var/www/html/ -vendor/bin/typo3 install:setup --database-user-name=db --database-user-password=db --database-host-name=db --database-name=test --use-existing-database +vendor/bin/typo3 install:setup --database-user-name=db --database-user-password=db --database-host-name=db --database-name=test --use-existing-database --force vendor/bin/typo3 configuration:set 'BE/debug' 1 vendor/bin/typo3 configuration:set 'FE/debug' 1 vendor/bin/typo3 configuration:set 'SYS/devIPmask' '*' diff --git a/.ddev/docker-compose.web.yaml b/.ddev/docker-compose.web.yaml index ec9a65c..1759c60 100644 --- a/.ddev/docker-compose.web.yaml +++ b/.ddev/docker-compose.web.yaml @@ -18,6 +18,7 @@ services: - TYPO3_INSTALL_SITE_NAME=EXT:pw_comments Dev Environment - TYPO3_INSTALL_SITE_SETUP_TYPE=site - TYPO3_INSTALL_WEB_SERVER_CONFIG=apache + - TYPO3_CONTEXT=Development volumes: - type: bind source: ../ diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index 1cfecbd..aa315a2 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -131,6 +131,8 @@ lib.pwCommentsIndex { # Lib for form to post new comments lib.pwCommentsNew < lib.pwCommentsIndex lib.pwCommentsNew { + pluginName = new + controllerActions { Comment { 1 = new