[TYPO3-english] additionalParams in TMENU with GPvar
David Ansermot
david.ansermot at wng.ch
Mon Nov 24 11:43:09 CET 2008
Thanks !
It work fine :)
Francois Suter a écrit :
> Hi,
>
>>>> <snippet>
>>>> 1 = TMENU
>>>> 1 {
>>>> # Id de démarrage
>>>> useCacheHash = 1
>>>> additionalParams.data = &start={GPvar:start}
>>>> }
>>>> </snippet>
>>> [snip]
>>>
>>> additionalParams = &start={GPvar:start}
>>> additionalParams.insertData = 1
>
> Ah yes, I didn't notice, there's another error in your TypoScript.
> "additionalParams" is not a property of a TMENU object, but of a
> TMENUITEM object. So you have to place your code something like:
>
> 1 = TMENU
> 1 {
> NO {
> additionalParams = &start={GPvar:start}
> additionalParams.insertData = 1
>
> }
> }
>
> Cheers
>
More information about the TYPO3-english
mailing list