[TYPO3] Using the Typo3 Spam-Protection in own extension

Andre Dittmar typo3 at hotbytes.de
Wed Apr 9 08:46:51 CEST 2008


Hi there,

I'm using the RTE in a frontend-plugin extension, but email addresses  
in the text aren't protected by default.  Does anybody know how to  
implement the Typo3 spam-protection on a RTE-textfield (a custom  
contentelement in this case) in a custom extension?

I use to get the content in the extension like this:
=====================================
$this->pi_RTEcssText($this->cObj->data['tx_hb2cols_bodytext2']);


The config in ext_tables.php:
=============================
$TCA['tt_content']['types'][$_EXTKEY.'_pi1']['showitem']='
	tx_hb2cols_bodytext2;;;richtext[mode=ts_css],';



Thanks for help and best regards,
Andre

---
Andre Dittmar | hot bytes

Elbinger Straße 24
74226 Nordheim
Germany

Fon : +49 (0) 71 33 / 20 46 43
Fax : +49 (0) 71 33 / 20 46 42
D1  : +49 (0) 1 60 / 97 22 03 03

Web : http://www.hotbytes.de
Mail: mail at hotbytes.de


Rechtliche Angaben:
--------------------------------
Geschäftsführer: Andre Dittmar
Gerichtsstand:   Amtsgericht Heilbronn a.N.



More information about the TYPO3-english mailing list