[TYPO3] Marker !! What can you define in your code ?

S. Teuber traveler_in_time at gmx.net
Tue May 16 10:26:24 CEST 2006


Hi Nguyen,

> Please i have to create some thing like that :
> <!-- ###LINK### --> ###NAME### <!-- ###LINK### -->
> But i can't find a way to achieve it in the content api ?
> any idea please ?

Just take the marker ###NAME### and use stdWrap to get the link around it:

marks.NAME = TEXT
marks.NAME.value = The Name
marks.NAME.value.typolink.parameter = [page-uid, url or mail-adress]

http://typo3.org/documentation/document-
library/references/doc_core_tsref/current/view/5/8/


If you don't want to do it in TypoScript, but in an extension, use the 
cObj:

$markerArray['###NAME###'] = $this->cObj->getTypoLink('The Name', [page-
uid, url or mail-adress]);

http://typo3.org/fileadmin/typo3api-4.0.0/df/d65/classtslib__cObj.html#
4c23c7f36802bbfe4e64456fe0b0eee1

HTH,

Sven





More information about the TYPO3-english mailing list