[TYPO3-english] unwanted cHash is generated in 50% links from USER_INT plugin

Dmitry Dulepov dmitry at typo3.org
Thu Oct 9 18:38:54 CEST 2008


Hi!

Dmitry Martynenko wrote:
> Links are generated from *one place* in plugin using this function call:
> 
> $this->singlePageId = $GLOBALS["TSFE"]->id;
> $linkText = 'link text...';
> $urlParameters = array('unid' => $rowData['code'], 'photo' => 1);
> $link = $this->pi_linkTP($linkText, $urlParameters, 1, $this->singlePageId.' _blank');

If you want to get rid of cHash I suggest to check what the third parameter to pi_linkTP means ;)

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/duplicate_content_with_realurl/


More information about the TYPO3-english mailing list