[TYPO3-english] additionalParams in TMENU with GPvar
David Ansermot
david.ansermot at wng.ch
Mon Nov 24 09:42:55 CET 2008
So, I tried this solution too, and it dont works.
Francois Suter a écrit :
> Hi,
>
>> <snippet>
>> 1 = TMENU
>> 1 {
>> # Id de démarrage
>> useCacheHash = 1
>> additionalParams.data = &start={GPvar:start}
>> }
>> </snippet>
>
> Well, you TypoScript is not correct. The "data" property accepts a
> direct reference to a value, e.g.
>
> additionalParams.data = GPvar:start
>
> and not the syntax with curly braces. What you want to do is set that
> value directly to additionalParams and then insert the data, i.e.
>
>
> additionalParams = &start={GPvar:start}
> additionalParams.insertData = 1
>
> HTH
>
More information about the TYPO3-english
mailing list