I want to insert widgets in arbitrary positions in one of my rich text fields. A good example would be a contact form inserted in the middle of the content. These widgets would be ad units, forms and similar dynamically rendered templates.
I know about the widget plugin for Redactor, but this is only suitable for static HTML. I need something a bit closer to an {% include %}
tag.
How would you approach this problem?
I considered using WordPress-like [insert-widget-here]
tags, or perhaps iFrames, but I'd prefer a more elegant solution.