[TYPO3] textual language selector
Nagita Karunaratne
Nagita.k at gmail.com
Sun Jun 17 12:05:25 CEST 2007
Hi,
I have used the standard code for a language selector/menu and it works
ok. Is there code for a *textual* menu that does not have the flags?
I found this (see below) and modified it but it does not work at all.
This code is supposed to work for only two languages but I would like
textual links for more than three languages.
Thanks.
lib.langmenu >
#temp.langmenu >
# ------- multiple languages -------------
[global]
config.linkVars = L, type
config.sys_language_uid = 0
config.language = en
config.locale_all = english
temp.languageselect = TEXT
temp.languageselect.value = english
[globalVar = GP:L=0]
config.sys_language_uid = 0
config.language = en
config.locale_all = english
temp.languageselect = TEXT
temp.languageselect.value = french
[global]
[globalVar = GP:L=1]
config.sys_language_uid = 1
config.language = fr
config.locale_all = fr_FR
temp.languageselect = TEXT
temp.languageselect.value = english
[global]
temp.langmenu = COA
temp.langmenu {
20 = HMENU
20 {
special = language
special.value = 0, 1
special.normalWhenNoLanguage = 1
1 = TMENU
1 {
NO = 1
ACT = 1
noBlur = 1
NO {
stdWrap.cObject < temp.languageselect
}
ACT < .NO
ACT {
doNotShowLink = 1
}
USERDEF1 < .NO
USERDEF1 {
doNotLinkIt = 1
}
}
}
lib.langmenu < temp.langmenu
More information about the TYPO3-english
mailing list