[TYPO3-english] GET variable in TypoScript

Dan Osipov dosipov at phillyburbs.com
Thu Jul 30 21:54:09 CEST 2009


This was it, thanks a lot!!

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Michael Miousse wrote:
> 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