[TYPO3-mvc] Extbase 1.3.0 and scheduler

Braulio J. Solano-Rojas braulio at solsoft.biz
Thu Feb 10 21:35:44 CET 2011


El 09/02/2011 08:17 a.m., Braulio J. Solano-Rojas escribió:
> 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 run. I've been trying to debug this since
> days. I can't find the problem.

Forget about this, it was my mistake.  Good news is that my code for 
dispatching tasks works.

Bestos,

B.


More information about the TYPO3-project-typo3v4mvc mailing list