[TYPO3-english] typolink - additionalParams

Federico Bernardin typo3list at bernardin.it
Tue Jun 12 18:11:21 CEST 2012


Hi Robert,

try this:

typolink.additionalParams.dataWrap = &category={GP:category}

regards
Federico

Il giorno 12/giu/2012, alle ore 16:28, Robert Wildling ha scritto:

> Hi, TYPO3-list,
> 
> The url of a page contains the parameter &category=22. I would like to add this parameter to another page link via TS and read all over the internet that the way to go is like this:
> 
> typolink.additionalParams.dataWrap = $category={GPvar:category}
> 
> But that doesn't anything else but just adding a $category= to the link.
> 
> 
> I also tried other constellations like these:
> 
> typolink.additionalParams {
>  data = GPvar:category
>  insertData = 1
>  wrap = $category=|
> }
> 
> typolink.additionalParams.cObject = COA
> typolink.additionalParams.cObject {
>  5 = Text
>  5.value = $category=
>  10 = TEXT
>  10.data = GPvar:category
>  10.insertData = 1
> }
> 
> None of them generates the category id. So I wonder if i misunderstood the idea of extracting values from a url via GPvar?
> 
> Do you have any hints for me?
> Thanks in advance!
> Regards, Robert
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list