[TYPO3-german] Flexform Select itemsProcFunc mit Extbase inkl. ConfigurationManager, Repository
David Gurk
dgurk at medienwerft.de
Fri Oct 12 11:47:18 CEST 2012
Du hast den Code also auch innerhalb von Flexform getestet? Eine Idee was es sein könnte hast du nicht? Könnte es an der TYPO3 Version liegen? Ich nutze TYPO3 4.6.12, also Extbase 1.4. Könnte es daran liegen?
Ich hatte noch folgende versucht:
<code>
protected $configurationManager;
function mainAction($params, $conf) {
$this->configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_ConfigurationManagerInterface');
$frameworkConfiguration = $this->configurationManager->getConfiguration(Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
$storagePid = $frameworkConfiguration['persistence']['storagePid'];
t3lib_div::debug($storagePid);
}
</code>
Leider auch ohne Erfolg:
"Fatal error: Cannot instantiate interface Tx_Extbase_Configuration_ConfigurationManagerInterface"
-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Thomas Nussbaumer
Gesendet: Freitag, 12. Oktober 2012 11:36
An: typo3-german at lists.typo3.org
Betreff: Re: [TYPO3-german] Flexform Select itemsProcFunc mit Extbase inkl. ConfigurationManager, Repository
Wie gesagt: mit deinem Code konnte ich die meine Konfiguration abrufen.
Das Problem muss daher bei der Konfiguration deiner Extension liegen.
Gruss. Thomas.
More information about the TYPO3-german
mailing list