[TYPO3-dev] link marker

Franz Holzinger franz at fholzinger.com
Wed May 17 08:45:51 CEST 2006


Nguyen Duc Hung a écrit :
> Pierre Rouwens wrote:
> 
>> Hi all,
>>
>> 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 ?
>>
Do it like in tt_products class.tx_ttproducts_list_view.php

$wrappedSubpartArray['###LINK###'] =  array('<a href="'. $pageLink
.'"'.$css_current.'>','</a>');

...
$content =
$this->pibase->cObj->substituteMarkerArrayCached($t['item'],$markerArray,$subpartArray,$wrappedSubpartArray);




More information about the TYPO3-dev mailing list