A Contao CMS extension providing countdown module and content element

Installs: 37

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1



v1.0.1 2023-02-14 19:34 UTC

This package is auto-updated.

Last update: 2023-03-14 19:47:21 UTC



Install with composer as usual:

composer install ameotoko/contao-countdown


The extension provides a content element and a frontend module for Contao CMS, which allow you quickly set up and show a countdown widget on your website.

The widget itself is beautifully designed and developed by @pqina. Check out the widget's website.

Current limitations

The extension primarily serves the needs of my own projects, so there's not much room for customization at the moment. However, I do plan to add more settings in the future.

You can totally override the templates etc. though.


After installation, you can add a "Countdown" content element or a frontend module in the back end. They both have same three settings:

End datetime

This is the point in time to count down to. This is set in your server's timezone, but converted to UTC under the hood, meaning – all your visitors from different timezones will see exactly the same time left to D-Day. If it's 1 hour left for you – it's the same 1 hour left for your visitor on the other side of the world, that looks at your site at the same time.

Hide when expired

When checked, the widget will disappear from the page when it reaches zero, without reloading the page, and it will not appear on any subsequent page load. If you need to show your visitors, that they missed something great – do not check this box, and they will see all zeros!


If checked, the page will refresh itself upon reaching zero on the countdown. Typical use-case:

  1. Create some content with show until = 23:59:59
  2. Create some other content with show from = 00:00:00
  3. Set countdown to 00:00:00 with reload checked
  4. Go to bed
  5. Even if your visitors keep stare at the screen at midnight, they will see old content disappear and new content show up at midnight
  6. ??????

Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the project website for more information.