[TYPO3-shop] Hook getLinkParams
Franz Holzinger
franz at fholzinger.com
Sat Mar 17 00:06:28 CET 2007
Hello Vikram,
> I need to add certain parameter to the "back to list" links. I came
> across the getLinkParams hook. But using this it does not seems like we
> can add any thing to the query string or can it be? Are there any other
> alternatives?
This will be
$hookObj->getLinkParams($this,$queryString,$excludeList,$addQueryString,$bUsePrefix,$bUseBackPid,$piVarCat);
in the next version.
You can define your method with the $addQueryString as a reference. Then
you can change the contents.
function getLinkParams($excludeList='',&$addQueryString, ...) {
...
$queryString['backPID'] = 0815;
}
> Also do we have a central place where all hooks are documented?
You can add this on the tt_products wiki page.
Regards,
Franz
More information about the TYPO3-project-tt-products
mailing list