[TYPO3-english] eid, userINT and RTE content
Dmitry Dulepov
dmitry.dulepov at gmail.com
Wed Apr 9 09:28:08 CEST 2014
Hi!
Éric Thibault wrote:
> I'm currently adding Ajax calls to an old user INT plugin and injecting the RTE content in a frontend page. Unfortunately, all the paragraph and link tags are not rendered!
>
> How can I correctly output the RTE content? Do I have a particular library to include inside my new eid class?
>
> Thank you all for your help!
$cObj = t3lib_div::makeInstance('tslib_cObj');
$content = $cObj->stdWrap($rteContent, array('parseFunc' => '< lib.parseFunc_RTE'));
But you will need $TSFE and TS setup there. See my sitemap ext on how to initialize that:
https://github.com/dmitryd/typo3-dd_googlesitemap/blob/master/class.tx_ddgooglesitemap_eid.php#L75
--
Dmitry Dulepov
Today is a good day to have a good day.
More information about the TYPO3-english
mailing list