Blog Sections Open
Keeping Ditto Summary Output Clean When News Starts with Images or Heavy HTML
How to make Ditto summaries behave when introtext begins with images or contains markup that should not leak into listing excerpts.
The [+summary+] extender is convenient until real content gets messy. If a news item starts with an image, or if the intro contains markup-heavy fragments, the generated summary can become visually awkward or semantically wrong.
This is not a Ditto failure so much as a reminder that summary generation needs content-aware rules.
What usually helps
- strip leading media from the excerpt logic,
- remove or normalize HTML before truncation,
- prefer a dedicated intro field when summaries matter a lot,
- avoid asking one generic summary function to solve every content pattern.
Listing excerpts work best when they are treated as editorial output, not as accidental leftovers from the full article body.
If summaries are important to the page design, give them explicit rules rather than trusting raw introtext blindly.
Saving Yandex Geocoder Coordinates into a TV in Evolution CMS
A reusable pattern for turning an address into Yandex coordinates and saving the result into a template variable.
Adding a Custom Editing Form Inside the Resource Edit Screen
How to extend the Evolution resource editor with a custom form for related data without replacing the whole manager workflow.