[TYPO3-dev] scheduler and doNotLoadInFE
Thomas Kowtsch
thomas at kowtsch.de
Sat Apr 2 21:24:25 CEST 2011
Steffen, all,
I have to open this topic again :-(
On 12.08.2010 22:18, Steffen Kamper wrote:
> Mario Matzulla schrieb:
>>>> Quite a few other possible solutions were floated in the discussion.
>>>> Did
>>>> any of them work for you?
>> Well, not so far :S
> didn't the latest condition work for you?
No, it does not work as we thought. It looked pretty good, but this was
mainly due to the fact that everyone that was using the dev version of
cal patched the scheduler before or does not use it all ;^(
We have
if (t3lib_div::inList($TYPO3_CONF_VARS['EXT']['extList'], 'scheduler')) {
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extList_FE'] .= ',scheduler';
[...]
}
in the ext_localconf.php
Withing the extension code, we try to use this code:
if (t3lib_extMgm::isLoaded('scheduler')) {
require_once(t3lib_extMgm::extPath('scheduler').'class.tx_scheduler.php');
[...]
}
But it never gets executed because extMgm::isLoaded returns false :-(
Trying to call extPath() with the inList query results in a
Uncaught TYPO3 Exception
#1270853878: TYPO3 Fatal Error: Extension key "scheduler" was
NOT loaded!
I've got no idea why this happens, debugging
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extList_FE'] shows that the
scheduler is in there...
Do you have any idea how to work around this?
Maybe it's also a question in which order the extensions get installed,
but I could not find a working one ...
Any suggestions?
Thomas
More information about the TYPO3-dev
mailing list