Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions Classes/Powermail/Finisher/CleverReach.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,23 @@ class CleverReach extends AbstractFinisher
*/
protected $mailRepository;



/**
* typoScriptService
* Because of T3 7 compatibility use this class
* @var \TYPO3\CMS\Extbase\Service\TypoScriptService
* @TYPO3\CMS\Extbase\Annotation\Inject
*
* @var \TYPO3\CMS\Core\TypoScript\TypoScriptService
*/
protected $typoScriptService;
protected $typoScriptService = null;

/**
* Inject a typoScriptService
*
* @param \TYPO3\CMS\Core\TypoScript\TypoScriptService $typoScriptService
*/
public function injectTypoScriptService(\TYPO3\CMS\Core\TypoScript\TypoScriptService $typoScriptService)
{
$this->typoScriptService = $typoScriptService;
}


/**
Expand Down Expand Up @@ -121,7 +130,7 @@ public function cleverreachFinisher()
/**
* Initialize
*/
public function initializeFinisher()
public function initializeFinisher(): void
{
$configuration = $this->typoScriptService->convertPlainArrayToTypoScriptArray($this->settings);
if (!empty($configuration['dbEntry.'])) {
Expand Down
9 changes: 9 additions & 0 deletions Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
defined('TYPO3_MODE') or die();

/* Register PageTSconfig */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile(
'cleverreach',
'Configuration/TsConfig/powermail.tsconfig',
'EXT:cleverreach - Page TSconfig'
);
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "http://wappler.systems",
"license": "GPL-2.0-or-later",
"require": {
"typo3/cms-core": "^7.6 || ^8.7 || ^9.5"
"typo3/cms-core": "^7.6 || ^8.7 || ^9.5 || ^10.4"
},
"replace": {
"svewap/cleverreach": "self.version"
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
'author' => 'Sven Wappler',
'author_email' => '[email protected]',
'author_company' => 'WapplerSystems',
'version' => '0.1.7',
'version' => '0.1.8',
'constraints' => [
'depends' => [
'typo3' => '7.6.0-9.5.99',
'typo3' => '7.6.0-10.4.99',
'php' => '7.0.0-7.4.99',
],
'conflicts' => [],
Expand Down