[TYPO3-english] special = language generated wrong links in HMENU, if url contains GET variables

Matyi Gábor gmatyi at freemail.hu
Fri May 7 14:36:09 CEST 2010


Thanks, config.linkVars = L, var is work, but the another page I use tt_products, and on the single page there is the same problem. If I put this config.linkVars = L, tt_products[backPID], tt_products[product], tt_products[cat], cHash in my ts setup, and I get this http://localhost/index.php?id=13&L=3&cHash=e803097dc8792 and not this http://localhost/index.php?id=13&L=2&tt_products[backPID]=23&tt_products[product]=8&tt_products[cat]=2&cHash=e80309512826d68d7dc8792 Gabor
"Björn Pedersen" <pedersen at frm2.tum.de> írta:
>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/index.php?id=10&L=2&var=1 these are generated. http://localhost/index.php?id=10&L=0http://localhost/index.php?id=10&L=1http://localhost/index.php?id=10&L=2 and not this. http://localhost/index.php?id=10&L=0&var=1http://localhost/index.php?id=10&L=1&var=1http://localhost/index.php?id=10&L=2&var=1  how can be resolve this bug?  Thanks. Gabor
>
>
>Add var to config.linkVars.
>
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list