[TYPO3] problem: howto 'append' GET/POST vars to a localized Link

Alessandro Tuveri at at uniud.it
Thu Sep 7 11:07:21 CEST 2006


Dear Patrick,
have a look to this:

/******************************
* LANGUAGE MENU, FIRST SOLUTION
*/
temp.langmenu = COA
temp.langmenu {
     10 = TEXT
     10 {
         value = ita
         typolink {
             addQueryString = 1
             parameter.dataWrap = {getenv:TYPO3_REQUEST_URL}1
             additionalParams= &L=0

         }
     }
     15 = TEXT
     15.value =  &#124 
     20 = TEXT
     20 {
         value = eng
         typolink {
             addQueryString = 1
             parameter.dataWrap = {getenv:TYPO3_REQUEST_URL}1
             additionalParams= &L=1

         }
     }
}

>>> comment: this works correctly but typolink creates a link to page  
>>> 1, overrided by getenv:TYPO3_REQUEST_URL: this is not applicable  
>>> if I use
simulateStaticDocuments = 1

this is the solution that I found in TSref:

/*** LANGUAGE MENU
*
*/
lib.langMenu = HMENU
lib.langMenu {
  special = language
  special.value = 0,1
  special.normalWhenNoLanguage = 0
  1 = TMENU
  1 {
   NO = 1
   NO.allWrap = | |*| &#124 |
   NO.linkWrap = <font class=testomicroNavbar>|</font>
   NO.stdWrap.setCurrent = Ita || Eng
   NO.stdWrap.current = 1
   }
}

maybe my TSref guide is dated, but I can't find any property

addQueryString

to use for HMENU and TMENU.

Have you any idea where use this property? It seems that it can be  
used only as property for '.typolink'.

Thank you again

--
ALEX TUVERI
CSIT - UNIV. DI UDINE
--------------------------------------

----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - CSIT -Universita' di Udine






More information about the TYPO3-english mailing list