[TYPO3] rte rendered html (solved)
Rob Kamp
typo3 at kamp.nl.eu.org
Wed Feb 7 20:58:39 CET 2007
Rob Kamp schreef:
> Tyler Kraft schreef:
>
>> I'm told that there's a function in pibase one can generally call as
>> $this->pi_RTEcssText
>>
>
> Thx,
>
> I am looking into this now. I'll report asap on my findings.
>
>
Hi All,
This did the trick. I also had to include-once the
class.tslib_pibase.php and create a cObj as follows.
<code>
require_once(PATH_tslib.'class.tslib_pibase.php');
function init () {
...
$this->cObj = t3lib_div::makeInstance('tslib_cObj');
...
}
</code>
And then where I needed to have rendered text I put.
<code>
$value = tslib_pibase::pi_RTEcssText($content['html']);
</code>
Regards,
Rob Kamp
More information about the TYPO3-english
mailing list