[TYPO3-mvc] Extbase 1.3.0 and scheduler

Braulio J. Solano-Rojas braulio at solsoft.biz
Wed Feb 9 15:17:41 CET 2011


El 08/02/2011 10:38 a.m., Marc Bastian Heinrichs escribió:
> Hey,
>
>>> Or can I at least assign my Crontroller to a backend module? But how would
>>> the configuration for that look like?
>>
>> $bootstrap = t3lib_div::makeInstance('Tx_Extbase_Core_Bootstrap');
>> $output = $bootstrap->callModule('M_module_signature');
>>
>> Not sure if this would work like expected. But internally extbase is
>> doing the very same then with plugins, only that the namespace changed
>> from plugin.tx to module.tx.
>
> It would not work like expected because
> Tx_Extbase_Utility_Extension::configurePlugin
> registers the controller and action config in
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions'][$extensionName]['plugins'][$pluginName],
>
> but the configuration manager, which is running in BE mode looks at
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions'][$extensionName]['modules'][$pluginName]
> for it.
>
> :-(

Right.

I think the code I sent works almost right.  The only problem I found is 
that queries never get runned.  I've been trying to debug this since 
days.  I can't find the problem.

I also found no difference between:

$bootstrap = t3lib_div::makeInstance('Tx_Extbase_Core_Bootstrap');

and

$bootstrap = new Tx_Extbase_Core_Bootstrap();


Bests,

B.



More information about the TYPO3-project-typo3v4mvc mailing list