Building a Reusable Custom Content Element in Contao Using Frontend Modules and Template Overrides
Learn how to create a custom rotating banner in Contao using frontend modules and template overrides without modifying core files.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to create a custom rotating banner in Contao using frontend modules and template overrides without modifying core files.
A guide to diagnosing and fixing the White Screen of Death (WSOD) in Contao CMS, covering cache corruption, PHP version mismatches, and permission errors.
After upgrading to Contao 6, input encoding is disabled and double encoding is enabled by default, which can cause unexpected output if templates are not adjusted. What specific steps should be taken to verify that output is properly encoded when using Twig templates or raw output from hooks, and how can the double‑encoding behavior be controlled during the
Pagination count query behavior Contao's Model::findBy() method accepts limit and offset options to bound result sets. When a limit is provided, the framework automatically executes a separate COUNT(*) query using the same WHERE conditions to determine the total row count for pagination metadata. Performance constraint On tables with millions of rows and com
Our team is preparing a Contao update that will trigger the Install Tool's database update, and we need a rollback plan if the schema change fails midway. The Install Tool applies the SQL required to reach the code's expected version and records that version, but ships no reverse migration, so recovery is operational rather than a built-in undo. The two appr
The goal is to understand whether Contao can return a distinct, user‑friendly message when a backend user’s LDAP credentials are marked as expired, rather than the generic "Invalid username or password" response it currently provides. Contao does not implement native password expiration for backend accounts and relies on external authentication sources to en
The team wants Notification Center alerts for form submissions to be useful yet non‑intrusive, avoiding a flood of individual emails for each submission. Notification Center currently delivers each event immediately and lacks a built‑in per‑recipient digest or frequency cap, so the team must decide whether to create a custom gateway/hook for aggregation or a
Context We are planning a migration to Contao 4.13 LTS, where the legacy web Install Tool at /contao/install.php has been removed in favor of the Contao Manager and the contao:install-web console command. Previously, the Install Tool UI was where forced HTTPS could be toggled during setup. Current setup and constraints The site will run behind a reverse prox
When deploying a Contao CMS project, the Symfony kernel fails to start and the application returns a 500 error. The goal is to determine which missing or incorrect environment variable in the .env (or .env.local) file is preventing the kernel from booting, based solely on the information available in the var/log directory. Constraints include relying on log