Skip to content

w3scout/contao-timetags-bundle

Repository files navigation

Contao Timetags Bundle

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published