[Typo3] Properly link in ext
Bernhard Kraft
kraftb at kraftb.at
Thu Sep 15 03:16:14 CEST 2005
Jernej Zorec wrote:
> I'm 100% that there's a function that properly links this acording
> of the link type. But what is it ? :)
Have a look at tslib/class.tslib_content.php exactly at method:
getTypoLink($label,$params,$urlParameters=array(),$target='')
you pass it the label it should wrap with a link, some URL GET parameters and
the most interesting thing: the $params config array.
$params is a TypoScript array like the $conf array which your piN plugins
main method gets passed
Have a look at the typolink parameters in TSRef:
http://typo3.org/documentation/document-library/doc_core_tsref/typolink/
greets,
Bernhard
More information about the TYPO3-english
mailing list