[TYPO3-german] Re: Template-Email aus custom Form-Handler-Finischer versenden

N W info at bugblatterbeast.de
Wed Nov 26 16:50:46 CET 2014


Hallo Alex, vielen Dank für den Hinweis. Ich würde aber zunächst versuchen wollen, den bereits gestarteten Versuch zu Ende zu bringen und erst wenn das gar nicht funktioniert darüber nachdenken, das Problem mit einer weiteren Abhängigkeit zu lösen.

Es läuft mit dem Hinweis von Jost schon fast perfekt. Ich kann den configurationManager jetzt instanzieren. Das Problem ist blos, dass ich es nicht schaffe, ihm zu sagen, um welche Extension es geht... das zweite oder das dritte Argument von getConfiguration sollte das Problem eigentlich lösen, tut es aber nicht.

$configurationManager = $objectManager->get('TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManager');
  	$extbaseFrameworkConfiguration = $configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK, $extName, $extName);
  	$templateRootPath = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName($extbaseFrameworkConfiguration['view']['templateRootPath']);

Als $templateRootPath erhalte ich nur "Email/templatename.html".

Gruß, bbb


More information about the TYPO3-german mailing list