[TYPO3-dev] scheduler and doNotLoadInFE
Steffen Kamper
info at sk-typo3.de
Thu Aug 12 00:01:06 CEST 2010
Hi Mario,
Mario Matzulla schrieb:
> Hi Steffen,
>
> Am 11.08.10 13:54, schrieb Steffen Kamper:
>> Hi Mario,
>>
>> Mario Matzulla schrieb:
>>> Hi Steffen,
>>>
>>> Am 09.08.10 21:08, schrieb Steffen Kamper:
>>>> Hi,
>>>>
>>>> change it in localconf of cal:
>>>>
>>>> if (t3lib_extMgm:isLoaded('scheduler') {
>>>> $GLOBALS['TYPO3_CONF_VARS']['EXT']['extList_FE'] .= ',scheduler';
>>>> }
>>>
>>> This doesn't work, because it is not written back into localconf.php :(
>>>
>>
>> this should work as the ext_localconf of cal is included in FE and
>> loaded after localconf.php. Are you sure to have it in the right place?
>> if (TYPO3_MODE == 'FE') {...
>
> in FE the if part "t3lib_extMgm::isLoaded('scheduler')" will return
> false ;)
> Chicken - Egg problem !?!;)
>
ok, then you have to do it yourself:
if (t3lib_div::inList($TYPO3_CONF_VARS['EXT']['extList'], 'scheduler') { ...
vg Steffen
More information about the TYPO3-dev
mailing list