Mugo Web main content.
Code snippet screenshot

Injecting content into rich text fields at the template level in eZ Publish / eZ Platform

On content heavy sites, it can be useful to inject snippets of code into CMS data before display (for example, into the body copy of an article). These snippets could be automatically generated glossaries, tables of contents, or ad units, placed mid-content.

Let's explore a general approach to getting such snippets into place.