[TYPO3-ect] translations with lib/div
Steffen Kamper
steffen at sk-typo3.de
Mon Jul 30 18:09:18 CEST 2007
"Elmar Hinz" <elmar07 at googlemail.com> schrieb im Newsbeitrag
news:mailman.1.1185807381.6306.typo3-team-extension-coordination at lists.netfielders.de...
>>
>> So i compared:
>> t3lib_div::debug($this->configurations->dump(),'try');
>> t3lib_div::debug($GLOBALS['TSFE']->tmpl->setup['plugin.'
> ['tx_bananas.'],'try2');
>>
>> and in the TSFE-Object the right configuration is given.
>>
>> vg Steffen
>
> Hi,
>
> the configuration isn't taken from $GLOBALS['TSFE']->tmpl. (Once it was).
> It
> all comes in now through the one and only gate: tx_lib_controller::main().
> So you should include that into your comparisms.
>
> Regards
>
> Elmar
>
Hi,
sure, i did that with same result.
function main($input, $configurations, $context=NULL, $parameters=NULL) {
Í try to follow:
In bananas there are 2 controllers extending tx_lib_controller. The incoming
configuration-Array is the defined one from setup.txt.
So i think the $GLOBALS['TSFE']->tmpl should be used for the configurations
because there is the run-through-page-templates.
vg Steffen
the given $configuration comes from
>
>
>
>
>
>
>
>
>
More information about the TYPO3-team-extension-coordination
mailing list