[Typo3-dev] $GLOBALS['TSFE']->sL($label); on 3.7
Elmar Hinz
elmar.hinz at vcd-berlin.de
Wed Sep 14 12:14:41 CEST 2005
>
> Check thourougly if there is some .php/XML issue. Afair some lang-files
> have moved to a new XML format which should be handled trasparently but
> might not be the case here.
>
Unfortunatly I can't experiment to much, cause the 3.7.0 is a live server.
While I can't reach the label
'LLL:EXT:lang/locallang_general.php:LGL.name' from FE pi,
i can reach
'LLL:EXT:tt_address/locallang_tca.php:tt_address.mobile'
which is nearly the only label defined directly in tt_address.
I can load t3lib_div::loadTCA("tt_address") before calling
$GLOBALS['TSFE']->sL($label).
I can imagine that I need to do something analogues to loading a table
with t3lib_div::loadTCA to reach the labels in xml files via
EXT:lang/lang.php for version 3.7.0. What would it be?
Regards
Elmar
More information about the TYPO3-dev
mailing list