I've been trying to code a 3.2.x extension. Currently I'm using the
generate_text_for-line to display text from my extension's tables.
However, as I am writing it for 3.2 exclusively and not for < 3.1, I thought I might aswell use the new text formatter.
Been trying lots of things to get it to work but I can't truly figure it out.
- What are the dependencies/services I have to include?
- What is the way to prepare text for storage, edit, display?
- How do I include the options to disable bbcodes/smilies/etc ..
I've been reading a lot on Area51, New Text Reparser and 3.2.x Docs in general. The 'New Text Reparser'-doc pretty much only tells you how to update/reparse your old tables with cron jobs.
Basically what I'm looking/asking for is a tutorial or example along these lines Parsing Text.
Preferably with one example of services (
and the construct in the controller (
Thanks in advance and sorry for the incompetence,