[TYPO3-english] Language Selection and Menu on Typo3_452

Tobias Dörner hermes1 at web.de
Wed Apr 20 18:38:45 CEST 2011


Hi Victor,
This doesn't work too. Now instead of [german] [english] stand the two
different labels for the starting page (I called them home and homepage for
internal differentiation). 
Anyone  one more idea? 
Best Regards
Tobi

-----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org
[mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von Victor
Livakovsky
Gesendet: Mittwoch, 20. April 2011 11:27
An: typo3-english at lists.typo3.org
Betreff: Re: [TYPO3-english] Language Selection and Menu on Typo3_452

Hi, Tobias.

As a different approach, you can create a menu with TS only. Here is my 
usual setup for this:

lib.lang_menu = HMENU
lib.lang_menu {
special = language
special.value = 0,1
special.normalWhenNoLanguage = 0
1 = TMENU
1 {
NO = 1
NO.linkWrap = <span>|</span>
NO.ATagBeforeWrap = 1
NO.ATagParams = class="language"
NO.stdWrap.setCurrent = {$FrenchLang} || {$EnglishLang}
NO.stdWrap.current = 1
}
}
lib.lang_menu.1.ACT = 1
lib.lang_menu.1.ACT < lib.lang_menu.1.NO
lib.lang_menu.1.ACT.doNotShowLink = 1
lib.lang_menu.1.USERDEF1 = 1
lib.lang_menu.1.USERDEF1 < lib.lang_menu.1.NO
lib.lang_menu.1.USERDEF1.doNotLinkIt = 1 

_______________________________________________
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