[TYPO3-english] tslib_pibase.pi_getPageLink, but for a specified language
David Vandemaele
vd2m at hotmail.com
Mon Jan 19 10:54:07 CET 2009
Mathias Schreiber [wmdb >] schreef:
> 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
OMG....
Thx, looks like I was losing it...
More information about the TYPO3-english
mailing list