[TYPO3] format content of tt_content bodytext field
sean ellis
sellis at telus.net
Fri Feb 16 23:54:07 CET 2007
sean ellis wrote:
replying to my own personal thread
>> It works, but I'm losing the links that had been created. What should
>> I do to remedy this? Something to do with parseFunc .. I think?
getting the results that I wanted by changing the last quoted line below
as shown; seems to work
>>
>> // SELECT from typo db to get content
>> $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
>> 'bodytext',
>> 'tt_content',
>> 'pid='.intval($GLOBALS['TSFE']->id),
>> '',
>> '',
>> '');
>>
>> $record = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result);
>> $course_desc = $record['bodytext'];
// changed last line to
$course_desc = $this->pi_RTEcssText($record['bodytext']);
More information about the TYPO3-english
mailing list