[TYPO3-english] TT_news and multilang
Robert Steindl
typo3 at agiloweb.de
Fri Nov 27 19:04:50 CET 2009
Try something like
config.sys_language_uid = 0
[globalString = IENV:HTTP_HOST=www.mydomain.de]
config.sys_language_uid = 1
[global]
temp.headlines = CONTENT
temp.headlines.table = tt_content
temp.headlines.select {
pidInList = 32
orderBy = sorting
languageField=sys_language_uid
}
This example works if language is defined by domain, e.g. mydomain.com
is English, mydomain.de is German
Regards
Robert
Lars wrote:
> Hello list i have a tt_content element on the border of my website, in
> the template i use <!-- ###newsteaser### start --> <!-- ###newsteaser###
> end --> and i have a use in the config
> temp.headlines = CONTENT
> temp.headlines.table = tt_content
> temp.headlines.select {
> pidInList = 32
> orderBy = sorting
> }
>
> and
> #headlines
> subparts.headlines <temp.headlines
>
> now the problem when i switch to a other language in the border i have
> stil the default language and the language other lang. So what can i do
> to see only the langwiths from the language i have selected ??
>
> Lars
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list