[TYPO3-english] Language menu with special.normalWhenNoLanguage = 0 not work
Matias Coca
matiascoca at gmail.com
Wed Jan 6 13:25:18 CET 2010
Hello, I want to disable link to language page when the page is not
translate, in localconf.php is
$TYPO3_CONF_VARS['FE']['hidePagesIfNotTranslatedByDefault'] = '1';
The link is generated anyway, this is my TypoScript, I don't know what
is wrong...
lib.navigation.language = HMENU
lib.navigation.language {
protectLvar = 1
special = language
special.value = 1,0
special.normalWhenNoLanguage = 0
wrap = <ul id="language-menu"> | </ul>
1 = TMENU
1 {
# Normal link to language that exists:
NO = 1
NO.allWrap = <li id="language-menu-en">|</li> |*| <li
id="language-menu-de">| | </li>
NO.stdWrap.override = English |*| Deutsch
ACT < .NO
ACT.doNotLinkIt = 1
}
}
In config of language I have this
# German (default)
config {
sys_language_uid = 0
sys_language_mode = content_fallback
sys_language_overlay = hideNonTranslated
language = de
locale_all = de_DE.utf8
htmlTag_langKey = de
}
# English - GB
[globalVar = GP:L = 1]
config {
sys_language_uid = 1
language = en
locale_all = en_GB.utf8
htmlTag_langKey = en
}
[end]
Thanks in advance!
--
Saludos.
Matias Coca.
More information about the TYPO3-english
mailing list