[TYPO3-english] tslib_pibase.pi_getPageLink, but for a specified language
Mathias Schreiber [wmdb >]
mathias.schreiber at wmdb.de
Mon Jan 19 10:49:20 CET 2009
David Vandemaele schrieb:
> I know this functions, but I did not get what I expected. (Maybe that's
> the problem ;))
>
> This is what I have:
>
> $params = array('parameter' => 22, 'additionalParams' => '&L=3');
> $content .= $this->cObj->getTypoLink("TEXT", $id, $params);
>
> And this is what I get:
>
> http://example.org/pagex/subpagey/?parameter=22&nocache=1&additionalParams=%26L%3D3
>
>
> However, it should be
> http://example.org/language/pagex-translated/subpagey-translated
>
> If I could get the translated url, prefixing the url with the language
> should not be a problem.
>
> Any ideas how to achieve this?
$this->cObj->typolink
not
$this->cObj->getTypolink
enjoy
Mattes
More information about the TYPO3-english
mailing list