[TYPO3-english] overriding pivarsarray on pi_linkTP_keepPIvars function
Francesc Juliana
sad at sdf.com
Fri Apr 12 10:54:12 CEST 2013
Hello Bernd:
My code mixed with the one you purpose is the following:
$saveATagParams = $GLOBALS['TSFE']->ATagParams;
$GLOBALS['TSFE']->ATagParams = 'type=1';
$linkWrap = explode($this->token,
$this->pi_linkTP_keepPIvars($this->token, $piVarsArray, $this-
>allowCaching, $this->conf['dontUseBackPid'], $singlePid));
$GLOBALS['TSFE']->ATagParams = $saveATagParams;
But the result is not I desire. I need to add the parameter type=1 to the
url that this code builds.
Do you know to get it?
Thanks in advance.
Francesc
"bernd wilke" <t3ng at bernd-wilke.net> escribió en el mensaje
news:mailman.1.1365748091.5353.typo3-english at lists.typo3.org...
> Am 11.04.2013 14:11, schrieb Francesc Juliana:
>> Hello everybody:
>> Anyone knows how to override pivarsarray on pi_linkTP_keepPIvars for
>> adding
>> my own parameter.
>>
>> I need to add type parameter in url.
>>
> do you mean http://pi-phi.de/117.html ?
>
> bernd
> --
> http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list