Decoupling Logic from Markup: Implementing Fluid Templates in Contao
Learn how to use the Fluid templating engine in Contao to separate business logic from HTML, utilizing template inheritance and partials for maintainable code.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use the Fluid templating engine in Contao to separate business logic from HTML, utilizing template inheritance and partials for maintainable code.
A practical guide to decide between a Composer‑based extension bundle and a classic local extension for Contao 5/6, with trade‑offs, a comparison table, and verification steps.
Diagnose Contao list and news module pagination failures: page-2 404s, repeated page 1, and disappearing links, with ordered checks and version-safe fixes.
Diagnostic guide for Contao 4.x/5.x cache failures: stale frontend output, missing template changes, or cache:clear not reflecting updates. Covers Symfony, Contao, OPcache, HTTP cache/Varnish, Doctrine metadata, and asset fingerprinting with ordered checks and fixes.
Define Contao image sizes once and render <picture> markup with WebP fallbacks from one high-resolution upload.
Learn how to override Contao’s core templates by copying them into your theme’s /templates folder, allowing safe customizations that survive updates.
Decision guide for Contao 4.9–5.x: why new projects should use Twig, how to migrate legacy PHP templates incrementally, and a concrete validation checklist with commands and caveats.
Register custom PHP classes at Contao extension points so core files stay untouched during updates.
Configure language roots and page languages in Contao 4.x/5.x, then verify frontend fallback when a translation is unpublished or missing.