[TYPO3-english] language switcher issue

dilip mdl dilip.mdl at live.com
Mon Apr 18 10:58:42 CEST 2016


Hi All,

I am using below typoscript code for switching the languages in between but while i switch to another language it doesn't show any active lanugage as HTML.

http://awesomescreenshot.com/0e95st84ea
http://awesomescreenshot.com/07e5st8h00

lib.langMenu = HMENU
lib.langMenu {
        special = language
        special.value = 1,0
        special.normalWhenNoLanguage = 0
        1 = TMENU
        1 {
                # Normal link to language that exists:
                NO = 1
                NO.linkWrap = <li> | </li>
                NO.stdWrap.setCurrent = de || en
                NO.stdWrap.current = 1

                # Current language selected:
                ACT < .NO
                ACT.linkWrap = <li class="active"> | </li>
                          

                # Language that is NOT available:
                USERDEF1 < .NO
                USERDEF1.linkWrap = <li class="text-muted"> | </li>
                USERDEF1.doNotLinkIt = 0
        }
       wrap = <ul id="language_menu" class="language-cover">|</ul>
}


More information about the TYPO3-english mailing list