[TYPO3-english] special = language generated wrong links in HMENU, if url contains GET variables
Björn Pedersen
pedersen at frm2.tum.de
Fri May 7 13:39:13 CEST 2010
Am 07.05.2010 13:28, schrieb �:
> Hi! My languageselector menu looks like so: lib.languageselector = HMENU
> lib.languageselector {
> special = language
> special.value = 0,1,2
> special.normalWhenNoLanguage = 0
> 1 = TMENU
> 1 {
> # Normal link to language that exists:
> NO = 1
> NO.stdWrap.setCurrent = DE || EN || FR
> NO.stdWrap.current = 1
>
> # Current language selected:
> ACT < .NO
> ACT.ATagParams = class="active"
>
> # Language that is NOT available:
> USERDEF1 < .NO
> USERDEF1.allWrap = <span class="nonexist"> | </span>
> USERDEF1.doNotLinkIt = 1
> }
> } If I browse f.e. this page http://localhost/jaudt/index.php?id=10&L=2&var=1 these are generated. http://localhost/jaudt/index.php?id=10&L=0http://localhost/jaudt/index.php?id=10&L=1http://localhost/jaudt/index.php?id=10&L=2 and not this. http://localhost/jaudt/index.php?id=10&L=0&var=1http://localhost/jaudt/index.php?id=10&L=1&var=1http://localhost/jaudt/index.php?id=10&L=2&var=1 how can be resolve this bug? Thanks. Gabor
Add var to config.linkVars.
More information about the TYPO3-english
mailing list