[TYPO3-ttnews] Rendering additional rich text field

Matthias Kurz mk at mediamachine.de
Thu Mar 15 13:59:33 CET 2007


Hi Oliver,

thanks for your help. Now I get a "Call to a member function on a 
non-object" - apparently I can't call either the formatStr-function or 
the stdWrap-function.
Any idea?
Thanks again, Matthias


Oliver Rowlands schrieb:
> Hi Matthias,
> 
> Try this:
> 
> $markerArray['###TEXTFELD###'] = '';
> 
> if ($row['user_textfeld'] != '') {
>   $markerArray['###TEXTFELD###'] .= 
> $this->formatStr($pObj->local_cObj->stdWrap($row['user_textfeld'], 
> $lConf['content_stdWrap.']));
> } else {
>   $markerArray['###TEXTFELD###'] = '';
> }
> 
> Hope this helps,
> 
> Oliver
> 
> Matthias Kurz wrote:
>> Hi list,
>> I am sure it is no big deal, but I am to blind to see it. I added some 
>> addional fields via "example_itemMarkerArrayFunc.php". Everything 
>> works fine, only the Rich Text output is not rendered properly: Links 
>> are not redered with a-tag and there are no p-tags.
>> My code:
>> $markerArray['###TEXTFELD###'] = '';
>>         if ($row['user_textfeld']!='') {
>>         // fills the marker
>>         $markerArray['###TEXTFELD###'] .=$row['user_textfeld'];
>>     } else { // empty
>>         $markerArray['###TEXTFELD###']='';
>>     }
>>
>> Where is my mistake?
>>
>> Thanks in advance, Matthias
> 
> 


More information about the TYPO3-project-tt-news mailing list