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

Nguyen Duc Hung hungnd at ise.com.vn
Wed May 17 03:46:57 CEST 2006


S. Teuber wrote:
> 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
> 
> 

Thanks u so much . I have just found a document introduce that.



More information about the TYPO3-english mailing list