[TYPO3-ect] translations with lib/div
    Elmar Hinz 
    elmar07 at googlemail.com
       
    Mon Jul 30 18:37:24 CEST 2007
    
    
  
> 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.
Already tslib_pibase gets the configurations via main(). That's working
definitly.
It's a question of proper TS use!!! All you need to know has already been
written in this thread.
I do a test. I add following lines to my TS-template 
plugin.tx_bananas.controllers.form.test1 = test1
plugin.tx_bananas.controllers.form._LOCAL_LANG.default.title = neuer Titel
and get them as expected in $this->configurations->dump();
test1                           test1
_LOCAL_LANG.default.title       neuer Titel
So everything works fine.
Regards
Elmar
    
    
More information about the TYPO3-team-extension-coordination
mailing list