[TYPO3] url encoding typolinks

JoH asenau info at cybercraft.de
Thu Dec 14 15:49:29 CET 2006


>> Syed S. Rahman wrote:
>>> How can I url encode a typolink?
>>
>> $result = urlencode($typolink);
>>
> Thanks,
>
> You mean I'll have to write a php function and pass the link as a
> param to the php func? So nothing possible via TypoScript?

stdWrap.rawUrlEncode = 1

Note: Tis will use rawurlencode not urlencode.

But AFAIK typolink results are encoded anyway. So why do you want to do it
manually?

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list