[TYPO3] How to restrict element browser to records of a certainlanguage?

R Gleeson rgleeson at notre-europe.eu
Tue Jan 29 17:51:03 CET 2008


Hello,

I'm still looking for ideas on this problem with the Typo3 element browser.
Can anyone help?

I have an extension which creates references to records using the group
> element and an MM table. (Typo3 v3.8.)
>
> The site is multilingual. When users select records using the element
> browser, they are confronted with documents in different languages
> (sometimes with the same names).
>
> I would like to configure the group element to find only records with the
> same language as the current record.
>
> In the TCA group element config I have tried adding lines similar to
> "MM_table_where" => "AND tx_extensionname_etc.sys_language_uid=0", but
> nothing has any effect (and even then I don't see how I would specify
> "current language", as there is no ###MARKER### for this).
>
> Does anyone have an idea how to do this?
>
> Ideas much appreciated.
>
>
>
____________________
Rollo Gleeson
http://www.notre-europe.eu/


More information about the TYPO3-english mailing list