[TYPO3-english] GET variable in TypoScript

Michael Miousse mmiousse at infoglobe.ca
Wed Jul 29 22:21:36 CEST 2009


Le Wed, 29 Jul 2009 15:49:31 -0400, Dan Osipov a écrit :

> Nope, it didn't do the trick...
> 
> Dan Osipov
> Calkins Media
> http://danosipov.com/blog/
> 
> Tyler Kraft wrote:
>> Hi
>> 
>> You can try this
>> 
>> stdWrap.typolink {
>>         parameter = this
>>     additionalParams.dataWrap =
>> &tx_cegallery_pi1[album]={GPvar:XXX}&type=100 }
>> 
>> 
>> hth
>> 
>> 
>> Dan Osipov wrote:
>>> I'm trying to include a GET variable, and pass it further down to
>>> typolink. Can someone suggest the correct syntax?
>>>
>>> ...
>>>     stdWrap.typolink {
>>>         parameter.data = TSFE:id
>>>         additionalParams =
>>> &tx_cegallery_pi1[album]={$GET_VARIABLE_HERE}&type=100
>>>         additionalParams.insertData = 1
>>>     }
>>> ...
>>>

assuming you want to get the variable from tx_cegallery_pi1[album]
it should look like this:
 stdWrap.typolink {
         parameter.data = TSFE:id
         additionalParams =&tx_cegallery_pi1[album]={GPvar:tx_cegallery_pi1|album}&type=100
         additionalParams.insertData = 1
     }
regards
Miousse


More information about the TYPO3-english mailing list