[Typo3] read variables from GET
media.res | alex widschwendter
a.widschwendter at mediares.at
Thu Apr 28 16:39:54 CEST 2005
hi wim,
please check your email accounts sender name ....
> i am working on a little workaround for the jp_staff extension, that shows an unique overview of the personnel member that is included in the list on the INFO-template.
>
> Given the fact that i am on a single view, i have the next URL:
>
> http://www.yourdomain.com/index.php?id=533&tx_jpstaff_pi1[showUid]=15&tx_jpstaff_pi1[backId]=417&L=3
>
> Now i want to grap the next variables to paste them on the link generated by my multilanguage-script:
>
> * tx_jpstaff_pi1[showUid]
> * tx_jpstaff_pi1[BackId]
>
> Herefor I want to use the function _GP from the t3lib_div-class in the /t3lib-directory.
>
> $showid = intval (t3lib_div::_GP($tx_jpstaff_pi1[showUid]));
> $backid = intval (t3lib_div::_GP($tx_jpstaff_pi1[backId]));
$this->jpstaffGPvars = t3lib_div::GPvar('tx_jpstaff_pi1');
$showid = $this->jpstaffGPvars['showUid']
hth alex
More information about the TYPO3-english
mailing list