[TYPO3] format content of tt_content bodytext field
sean ellis
sellis at telus.net
Thu Feb 15 22:59:53 CET 2007
sean ellis wrote:
>
> 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?
I thought that I'd better state explicitly, I'm not looking for a
typoscript solution, but something in the php. Thanks,
Sean
>
> // 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'];
>
More information about the TYPO3-english
mailing list