I have this typoscript language menu:
tmpl.NavLang = HMENU
tmpl.NavLang {
special=language
special.value = 0,1,2,3
1 = TMENU
1 {
NO = 1
NO {
stdWrap.htmlSpecialChars = 1
stdWrap.override = DE || EN || FR || PL
ATagTitle = Deutsch || English || Francais || Polski
}
ACT < .NO
ACT.doNotLinkIt = 1
ACT.linkWrap = <span>|</span>
}
}
If I am on a page in English which, for example, does not have a French translation, I want to hide FR from the menu.
Is this possible?
Thanks!
From tsref:
So you just need to read the manual and configure the item states for
USERDEF1andUSERDEF2. In your case, you would have to override them with an empty value.