w3scout/contao-timetags-bundle

Timetags für Contao

2.0.0 2024-06-01 14:43 UTC

This package is auto-updated.

Last update: 2024-11-12 21:20:44 UTC


README

Latest Stable Version Total Downloads License

About

Provides additional Inserttags to display time related information.

Examples

Timesince:

{{timesince::DATE::MESSAGE::MESSAGE}}
e.g. {{timesince::08.01.2023::Sunday, 08.01.23 has been over since %s::Sunday, 08.01.23 is not yet}}
e.g. {{timesince::08.01.2027::Sunday, 08.01.27 has been over since %s::Sunday, 08.01.27 is not yet}}

Countdown:

{{countdown::DATE::MESSAGE::MESSAGE}}
e.g. {{countdown::08.01.2023::Still %s until Sunday, 08.01.23::Sunday, 08.01.23 is over}}
e.g. {{countdown::08.01.2027::Still %s until Sunday, 08.01.27::Sunday, 08.01.27 is over}}

Countdown Day:

{{countdown_days::DATE::MESSAGE::MESSAGE}}
e.g. {{countdown_days::08.01.2023::Still %s days until Sunday, 08.01.23::Sunday, 08.01.23 is over}}
e.g. {{countdown_days::08.01.2027::Still %s days until Sunday, 08.01.27::Sunday, 08.01.27 is over}}

Installation

Install composer if you haven't already, then enter this command in the main directory of your Contao installation:

composer require w3scout/contao-timetags-bundle