[TYPO3-english] Language menu with special.normalWhenNoLanguage = 0 not work
Matias Coca
matiascoca at gmail.com
Wed Jan 6 20:02:16 CET 2010
On Wed, Jan 6, 2010 at 10:30 AM, Steffen Kamper <info at sk-typo3.de> wrote:
> Hi,
>
> the setting is dependend from the l18n_cfg value of the page record.
> //True if the page should be hidden
> return $l18n_cfg_fieldValue&2 ? FALSE : TRUE;
>
> vg Steffen
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
Thanks, I don't understand your solution but I can solve the problem
configure USERDER1, then my TS is:
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
# Language that is NOT available:
USERDEF1 < .NO
USERDEF1.doNotLinkIt = 1
}
}
--
Saludos.
Matias Coca.
More information about the TYPO3-english
mailing list