[TYPO3-ttnews] Single view + multilanguage problem

Rachel Foucard rfoucard at w-seils.com
Thu Apr 30 13:34:36 CEST 2009


just add this lines in your language menu TS :

#this line allow to keep the additionnal parameters of the current url
lib.langMenu.addQueryString = 1
#with this line you won't have problems with neither GET nor POST parameters
lib.langMenu.addQueryString.method=get,post
#this line tells not to manage the L and the cHash parameters
lib.langMenu.addQueryString.exclude = L,cHash

you should add this line to (in your general configuration TS) :
#to avoid duplicated parameters
config.uniqueLinkVars=1


"Olga Zhuravleva" <ozhurevleva at gmail.com> a écrit dans le message de news: 
mailman.4523.1241084891.1775.typo3-project-tt-news at lists.netfielders.de...
> Hi Rachel,
>
> config.sys_language_mode = content_fallback
>
> config {
>  sys_language_uid = 0
>  language         = ru
>  htmlTag_langKey  = ru
> }
>
> config.linkVars = L
>
> # Russian language, sys_language.uid = 0
> [globalVar = GP:L = 0]
> config.sys_language_uid = 0
> config.language = ru
> config.locale_all = ru_RU
> [global]
>
> # English language, sys_language.uid = 1
> [globalVar = GP:L = 1]
> config.sys_language_uid = 1
> config.language = en
> config.locale_all = english
> [global]
>
> plugin.tt_news.displayList {
>    time_stdWrap.strftime= %d.%m.%y %H:%M
>    }
>
> select.where = colPost =0
> select.LanguageField = sys_language_uid
>
> lib.langMenu = HMENU
> lib.langMenu.special = language
> lib.langMenu.special.value = 0,1
> lib.langMenu.1 = GMENU
> lib.langMenu.1.NO {
>  XY = [5.w]+4, [5.h]+4
>  backColor = white
>  transparentColor=white
>  5 = IMAGE
>  5.file = typo3/sysext/cms/tslib/media/flags/ru.gif  ||
> typo3/sysext/cms/tslib/media/flags/flag_uk.gif
>  5.offset = 2,2
> }
> lib.langMenu.1.ACT < lib.langMenu.1.NO
> lib.langMenu.1.ACT=1
> lib.langMenu.1.ACT.backColor = #ADDB94
> lib.langMenu.1.USERDEF1 < lib.langMenu.1.NO
> lib.langMenu.1.USERDEF1=1
> lib.langMenu.1.USERDEF1.5.file = typo3/sysext/cms/tslib/media/flags/ru.gif
> || typo3/sysext/cms/tslib/media/flags/flag_uk_d.gif
> lib.langMenu.1.USERDEF1.noLink = 1
>
> lib.stdheader.10.stdWrap.wrap =
> tt_content.stdWrap.dataWrap = <A name="{field:uid}"></a>
> ... 




More information about the TYPO3-project-tt-news mailing list