[Typo3] Text based language menu
Carla Froitzheim
cf at cf-webservice.de
Tue Oct 25 10:16:16 CEST 2005
Ries van Twisk wrote:
>
>Still I am wondering if it cannot be done with just typoScript,
>Afterall Kasper implemented the language menu and I am sure he thought about
>people that don't want to see tha flags, but just the TS.
>
>
Can be done:
temp.languageselect = TEXT
temp.languageselect.value = english
# German language, sys_language.uid = 0
[globalVar = GP:L = 0]
temp.languageselect = TEXT
temp.languageselect.value = english
[global]
# English language, sys_language.uid = 1
[globalVar = GP:L = 1]
temp.languageselect = TEXT
temp.languageselect.value = deutsch
[global]
temp.metanavi = COA
temp.metanavi {
20 = HMENU
20 {
special = language
special.value = 0, 1
special.normalWhenNoLanguage = 1
1 = TMENU
1 {
NO = 1
ACT = 1
noBlur = 1
wrap = <ul>|</ul>
NO {
stdWrap.cObject < temp.languageselect
linkWrap = <li class="li1">|</li>
}
ACT < .NO
ACT {
doNotShowLink = 1
}
USERDEF1 < .NO
USERDEF1 {
doNotLinkIt = 1
linkWrap = <li class="li1nolink">|</li>
}
}
}
Carla
More information about the TYPO3-english
mailing list