I would like to manipulate text with a custom plugin. I understand quite well how to make a plugin and I've already coded a plugin to correct usual mistakes in a text (replace h1 tag, replace space by unbreakable space when this or that, etc.).
I use onBeforeF2cContentSave's function for that.
My problem is that I want to make a plugin which won't change the data in the f2c_fieldcontent but only in the resulting joomla articles' content fields introtext and fulltext.
- I suppose that I have to use onAfterF2cContentParse function. Right?
- How to get the strings, I suppose it is with parsedIntroContent and parsedMainContent ?
- If yes, how to get the content of parsedIntroContent ?
- And how to write back the string after processing ?
Questions and answers for Form2Content, a Joomla CCK.