[TYPO3-dev] TCA type=select and localization

Popy popy.dev at gmail.com
Tue Aug 14 07:31:50 CEST 2007


'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
>



-- 
Popy

Vulnerant omnes, ultima necat.

http://popy.sytes.net




More information about the TYPO3-dev mailing list