[TYPO3-dev] TCA type=select and localization

Pierre Rouwens pierre_rouwens at dmr.ca
Tue Aug 14 16:13:33 CEST 2007


Hi Popy,

I'm gonna always get the category in the default language with this code 
, right ? Is it not possible to get it with the current edited language ?

Thanks a lot anyway for the hint, it would help not to have all the 
records :)

Pierre

Popy a écrit :
> 'foreign_table_where' => 'sys_language_uid < 1'
> 
> 2007/8/14, Pierre Rouwens <pierre_rouwens at dmr.ca>:
>> Hi there,
>>
>> I'm in little trouble here, i have a localized record pointing to
>> another localized record.
>> ---
>> "categorie" => Array (
>>                         "exclude" => 1,
>>                         "label" =>
>>
>> "LLL:EXT:bulletins_irre/locallang_db.xml:tx_bulletinsirre_article.categorie",
>>
>>                         "config" => Array (
>>                                 "type" => "select",
>>                                 "foreign_table" =>
>> "tx_bulletinsirre_categorie",
>>                                 "size" => 1,
>>                                 "minitems" => 1,
>>                                 "maxitems" => 1,
>>                         )
>>                 ),
>> ---
>> the interesting part... but in this select i get all the record
>> (unfortunately the same records in all 3 languages).
>> I can't find a way to get the categories in the currently edited
>> language. In the TSref i can't find a marker i can use in a where clause
>> :(
>>
>> Thanks for any hint
>>
>> Pierre
>> _______________________________________________
>> TYPO3-dev mailing list
>> TYPO3-dev at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>>
> 
> 
> 




More information about the TYPO3-dev mailing list