[TYPO3-mvc] Templates not in root-template

arno dudek webmaster at adgrafik.at
Sat Apr 2 15:18:27 CEST 2011


Hi!

In my extension (using extbase) I need some TS configuration in the 
BE-Form. But an user found now a problem 
(http://forge.typo3.org/issues/14027).

If the static template is not included in the root template but on the 
page where the plugin is, the settings are not loaded. In the template 
browser I can see them.

I'm loading the TS setup like this:

$configurationManager = 
t3lib_div::makeInstance('Tx_Extbase_Configuration_BackendConfigurationManager');
if (method_exists($configurationManager, 'loadTypoScriptSetup')) { // 
extbase < 1.3.0beta1
	$typoScriptSetup = 
Tx_Extbase_Utility_TypoScript::convertTypoScriptArrayToPlainArray($configurationManager->loadTypoScriptSetup());
} else if (method_exists($configurationManager, 'getTypoScriptSetup')) { 
// extbase >= 1.3.0beta1
	$typoScriptSetup = 
Tx_Extbase_Utility_TypoScript::convertTypoScriptArrayToPlainArray($configurationManager->getTypoScriptSetup());
}

Is there an other way to get them correctly? The BE form script called 
by TCA userFunc-configuration.

lg arno


More information about the TYPO3-project-typo3v4mvc mailing list