[TYPO3] $this->local_cObj->stdWrap

Patrick Schlaepfer patrick at schlaepfer.com
Tue Jan 3 01:17:44 CET 2006


Wrote an extension, there are some rte fields. Editing is ok. If
I have a look directly into the db table, there is no formatting as <p>
in the db. Guess it will be added by typo3 while the field is rendered.
So tried

$lConf['subheader_stdWrap.']['crop'] = '300 | ...';
$lConf['content_stdWrap.'] = '<p>|</p>';

$markerArray['###HOTEL_DESC###'] = 
	$this->local_cObj->stdWrap($lrow['hotel_desc'], 
	$lConf); 

But has no influnce no the output. Just want to format it.
Content is ok, but there are no linebreaks.

Thanks





More information about the TYPO3-english mailing list