Mapping Sulu Page Templates to Controllers and Twig for Localized Rendering
Learn how Sulu maps page templates to Twig files and optional controllers, and verify the routing for multi-locale sites with a concrete landing-page example.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how Sulu maps page templates to Twig files and optional controllers, and verify the routing for multi-locale sites with a concrete landing-page example.
After a Symfony deploy, users may see stale pages because the Cache-Stamp header does not change when the cache is rebuilt. Check headers before rolling back.
Register custom PHP classes at Contao extension points so core files stay untouched during updates.
Learn how to configure Symfony Messenger's built‑in retry strategy and failure transport to automatically handle transient errors, keep failed messages inspectable, and replay them safely — without writing custom retry loops.
Learn how to add a reusable callout block to Sulu CMS by creating a PHP block class, a Twig template, and registering it with Sulu—so editors can drop it into any zone without touching layout files.
Stop fighting YAML files. Learn how to use Symfony's autowiring and service tagging to build scalable, decoupled architectures with minimal configuration.
Bind a storage interface to a concrete Symfony service in services.yaml so controllers never hard-code LocalStorage or S3.
When adding asynchronous processing to a Symfony 6.4/7.x app, the Messenger transport you pick dictates latency, durability, and operational overhead. This guide compares Doctrine, Redis, and RabbitMQ, then walks through a minimal, verifiable setup for each.
Learn how to offload long‑running tasks like email sending in Symfony using the Messenger component, with a step‑by‑step example and verification tips.