[TYPO3-ttnews] Rendering additional rich text field
Oliver Rowlands
oliver at liquidlight.co.uk
Wed Mar 14 14:05:24 CET 2007
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
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
More information about the TYPO3-project-tt-news
mailing list