[TYPO3] Get the speaking url from a page ID

Kilian Hann kilian.hann at gmx.de
Wed Mar 8 17:30:06 CET 2006


Jérémy Lecour wrote:
> Hi,
> 
> I'm making an extension and I have to convert some page ids to their
> speaking url (managed by realURL).
> 
> Don't know how to do it

If you use the provided functions in 'tslib_pibase' (which are 
automatically available in your extension) TYPO3 will create the link 
depending on its configuration (simulatestatic / realURL etc.)
Have a closer look at 'pi_getPageLink()' and its 'friends' ;-) , these 
are the functions you want.


Kilian



More information about the TYPO3-english mailing list