From 9514f31dff917e67442270bebd2beedbb17dc8f7 Mon Sep 17 00:00:00 2001 From: Andriy Oprysko Date: Tue, 4 Feb 2020 08:20:04 +0200 Subject: [PATCH] [TASK] replace vendor name in more places --- Configuration/TCA/Overrides/tt_content.php | 2 +- ... tx_pxamessagebox_domain_model_message.php} | 2 +- Configuration/TypoScript/constants.ts | 12 ++++++------ Configuration/TypoScript/setup.ts | 16 ++++++++-------- ext_icon.svg | 18 ++++++++++++++++++ ext_localconf.php | 2 +- 6 files changed, 35 insertions(+), 17 deletions(-) rename Configuration/TCA/{tx_resultifymessagebox_domain_model_message.php => tx_pxamessagebox_domain_model_message.php} (98%) create mode 100644 ext_icon.svg diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 45ceff1..e8de20b 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -2,7 +2,7 @@ defined('TYPO3_MODE') || die('Access denied.'); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( - 'Resultify.ResultifyMessageBox', + 'Pixelant.PxaMessageBox', 'Message', 'Message box', 'EXT:pxa_message_box/Resources/Public/Icons/message.svg' diff --git a/Configuration/TCA/tx_resultifymessagebox_domain_model_message.php b/Configuration/TCA/tx_pxamessagebox_domain_model_message.php similarity index 98% rename from Configuration/TCA/tx_resultifymessagebox_domain_model_message.php rename to Configuration/TCA/tx_pxamessagebox_domain_model_message.php index 07aee23..b01362b 100644 --- a/Configuration/TCA/tx_resultifymessagebox_domain_model_message.php +++ b/Configuration/TCA/tx_pxamessagebox_domain_model_message.php @@ -153,7 +153,7 @@ 'type' => 'select', 'renderType' => 'selectMultipleSideBySide', 'foreign_table' => 'fe_users', - 'MM' => 'tx_resultifymessagebox_message_feuser_mm', + 'MM' => 'tx_pxamessagebox_message_feuser_mm', ] ], ], diff --git a/Configuration/TypoScript/constants.ts b/Configuration/TypoScript/constants.ts index be33291..cece16c 100644 --- a/Configuration/TypoScript/constants.ts +++ b/Configuration/TypoScript/constants.ts @@ -1,20 +1,20 @@ -plugin.tx_resultifymessagebox_message { +plugin.tx_pxamessagebox_message { view { - # cat=plugin.tx_resultifymessagebox_message/file; type=string; label=Path to template root (FE) + # cat=plugin.tx_pxamessagebox_message/file; type=string; label=Path to template root (FE) templateRootPath = EXT:pxa_message_box/Resources/Private/Templates/ - # cat=plugin.tx_resultifymessagebox_message/file; type=string; label=Path to template partials (FE) + # cat=plugin.tx_pxamessagebox_message/file; type=string; label=Path to template partials (FE) partialRootPath = EXT:pxa_message_box/Resources/Private/Partials/ - # cat=plugin.tx_resultifymessagebox_message/file; type=string; label=Path to template layouts (FE) + # cat=plugin.tx_pxamessagebox_message/file; type=string; label=Path to template layouts (FE) layoutRootPath = EXT:pxa_message_box/Resources/Private/Layouts/ } persistence { - # cat=plugin.tx_resultifymessagebox_message//a; type=string; label=Default storage PID + # cat=plugin.tx_pxamessagebox_message//a; type=string; label=Default storage PID storagePid = } settings { - # cat=plugin.tx_resultifymessagebox_message//b; type=boolean; label=Invert sorting + # cat=plugin.tx_pxamessagebox_message//b; type=boolean; label=Invert sorting invertSorting = 0 } } diff --git a/Configuration/TypoScript/setup.ts b/Configuration/TypoScript/setup.ts index 0e9814e..a06f27d 100644 --- a/Configuration/TypoScript/setup.ts +++ b/Configuration/TypoScript/setup.ts @@ -1,25 +1,25 @@ -plugin.tx_resultifymessagebox_message { +plugin.tx_pxamessagebox_message { view { templateRootPaths { - 10 = {$plugin.tx_resultifymessagebox_message.view.templateRootPath} + 10 = {$plugin.tx_pxamessagebox_message.view.templateRootPath} } partialRootPaths { - 10 = {$plugin.tx_resultifymessagebox_message.view.partialRootPath} + 10 = {$plugin.tx_pxamessagebox_message.view.partialRootPath} } layoutRootPaths { - 10 = {$plugin.tx_resultifymessagebox_message.view.layoutRootPath} + 10 = {$plugin.tx_pxamessagebox_message.view.layoutRootPath} } } persistence { - storagePid = {$plugin.tx_resultifymessagebox_message.persistence.storagePid} + storagePid = {$plugin.tx_pxamessagebox_message.persistence.storagePid} } settings { # Set invert sorting for messages - invertSorting = {$plugin.tx_resultifymessagebox_message.settings.invertSorting} + invertSorting = {$plugin.tx_pxamessagebox_message.settings.invertSorting} } } @@ -38,9 +38,9 @@ PxaMessageBoxAjaxCall { 10 = USER 10 { userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run - extensionName = ResultifyMessageBox + extensionName = PxaMessageBox pluginName = Message - vendorName = Resultify + vendorName = Pixelant switchableControllerActions { Message { diff --git a/ext_icon.svg b/ext_icon.svg new file mode 100644 index 0000000..c9c13f0 --- /dev/null +++ b/ext_icon.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ext_localconf.php b/ext_localconf.php index 5ffa55c..d9e1dfa 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -2,7 +2,7 @@ defined('TYPO3_MODE') || die('Access denied.'); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( - 'Resultify.ResultifyMessageBox', + 'Pixelant.PxaMessageBox', 'Message', [ 'Message' => 'list, close'