[Typo3-dev] How to add cHash?

Rupert Germann rupi at gmx.li
Sat Aug 20 11:51:11 CEST 2005


Stefan Beylen wrote:
[....]
> now the problem:
> there is no cHash added as I cannot set $cache=0 as in the func
> pi_linkTP -> ergo: one link clicked in the same category makes the page
> being cached and the next link calls the cached page and the item that
> was clicked first is shown...

you could add no_cache = 1 to the urlParams array:

$this->pi_linkToPage($record[0]['name'],$allProductsArray[$k
['pid'],"",array('detail'=>$products[$k]['uid'],'no_cache' => 1)


greets
rupi

ps: and don't use doublequotes :)




More information about the TYPO3-dev mailing list