[TYPO3-rte] Post-process RTE data

Christian Lerrahn typo3 at penpal4u.net
Sat Aug 15 11:24:27 CEST 2009


Hi Stanislas,
On Wed, 08 Jul 2009 10:14:28 -0400
Stanislas Rolland <typo3 at sjbr.ca> wrote:

> Jochen Rieger a écrit :
> > 
> >> rewrites the content before it gets saved to the database. Or
> >> would I hook in to the core somewhere to achieve that?
> > 
> > yes, a hook would be a good solution. I guess you could take this
> > one:
> > 
> > http://typo3.org/development/articles/how-to-use-existing-hooks/page/2/
> > 
> > (processDatamap_postProcessFieldArray)
> > 
> I think this would be a good choice.
> 
> Depending on the type of processing you wish to apply to the content, 
> you could also consider the use of a custom RTE transformation: 
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/5/2/#id4516683

I'm sorry to come back to this this much later. However, I've been
looking at the transformations and they seem to be pretty much what I
need.
However, I cannot figure out how I can add my own transformations to
standard fields. The documentation lists a TCA configuration but I
don't get it where exactly it writes that stuff in the TCA. In other
words, how do I make my new transformation show up in the $modes array
in RTE_transform?

This might all just be due to a poor understanding of the TCA. But it
would be nice if you gave me another clue that goes beyond the core API
documentation.

Cheers,
Christian



More information about the TYPO3-project-rte mailing list