[Typo3] In my est php file How to retrieve value of my select field

Michael Johnston mjohnston at planetactive.com
Mon Aug 22 18:13:50 CEST 2005


This has never worked for me. Only locallang.php in the pi directory is 
loaded by pi_loadLL, not locallang_db.php. Grepping through the code I 
wasn't able to find a mechanism to have the locallang_db.php in the 
root directory of the plugin loaded by the frontend plugin other than 
constructing a path and loading it directly with t3lib_div::readLLfile.

Michael Johnston
Planetactive


On 7-May-05, at 12:48 PM, Bernhard Kraft wrote:

> ElRicko wrote:
>
>> locallang_db.php
>>                   "user_immobilier_propriete.jours.I.0" => "Samedi",  
>>               "user_immobilier_propriete.jours.I.1" => "Dimanche",
>>              "user_immobilier_propriete.jours.I.2" => "Lundi",
>>              "user_immobilier_propriete.jours.I.3" => "Mardi",
>>              "user_immobilier_propriete.jours.I.4" => "Mecredi",
>>              "user_immobilier_propriete.jours.I.5" => "jeudi",
>>              "user_immobilier_propriete.jours.I.6" => "vendredi",
>
>> class.user_my_ext_pi1.php
>
>> How I retrieve example "Dimanche" from locallang_db.php?
>
> function whatever() {
> 	global $LANG;
>
> 	...
>
> 	echo $LANG->getLL('user_immobilier_propriete.jours.I.1');
>
> 	...
> }
>
>
> greets,
> Bernhard
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list