[TYPO3] how to generate link
Jan Bednarik
info at bednarik.org
Tue Jul 31 23:07:33 CEST 2007
Hi,
> From my TS template I call some user functions located in
> user_function class. Is there any function/method in TYPO3 API to
> generate correct (RealURL, CoolURI...) link to page specified with ID
> (plus optional get parameters)?
Try
$GLOBALS['TSFE']->cObject->typolink('text',Array('parameter'=>$pageid));
(maybe there's cObj instead of cObject - try)
--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-english
mailing list