Loading...
 
Skip to main content

History: GreffonCountDown

Source of version: 21

Copy to clipboard
            ! Greffon Countdown
Ce ((Wiki Plugin|greffon Wiki)) affiche un compte-à-rebours pour une date future depuis une date dans le passé, ainsi qu'un texte par défaut ou personnalisé, le cas échéant.

Voir également : ((PluginCountup))

!! Paramètres
{pluginmanager plugin="countdown"}
!! Exemples
{SPLIT(colsize=>200|50|350)}

''1. Ce code,''
{CODE(colors="tiki")}{COUNTDOWN(enddate="01-Apr-2020")} le projet est terminé !__ {COUNTDOWN}{CODE}
---
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)}{ATTACH}
---
''Produira :''
{COUNTDOWN(enddate="01-Apr-2020")} __le projet est terminé !__ {COUNTDOWN}
@@@
''2. Ce code,''
{CODE(colors="tiki")}{COUNTDOWN(enddate="2020-03-05T22:00" show="m")} __le projet est terminé !__  {COUNTDOWN}{CODE}
---
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)}{ATTACH}
---
''Produira :''
{COUNTDOWN(enddate="2020-03-05T22:00" show="yodhms")} __le projet est terminé !__  {COUNTDOWN}
@@@
''3. Ce code,''
{CODE(colors="tiki")}{COUNTDOWN(enddate="01-Apr-2020" caldays="y" show="yod")} __le projet est terminé !__ {COUNTDOWN}{CODE}
---
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)}{ATTACH}
---
''Produira :''
{COUNTDOWN(enddate="01-Apr-2020" caldays="y" show="yod")} __le projet est terminé !__ {COUNTDOWN}
@@@
{REMARKSBOX(type="tip" title="Note pour l'exemple ci-dessus")}''Utiliser -+caldays+- pour compter les jours du calendrier même s'il s'agit de moins de 24 heures''{REMARKSBOX}
@@@
''4. Ce code,''
{CODE(colors="tiki")}{COUNTDOWN(enddate="01-Apr-2010" since="n" text="before|is happening in less than a month|after|happened way less than a month ago|has passed")} __la date de démarrage du projet__ {COUNTDOWN}{CODE}
---
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)}{ATTACH}
---
''Produira :''
{COUNTDOWN(enddate="01-Apr-2010" since="n" text="before|is happening in less than a month|after|happened way less than a month ago|has passed")} __la date de démarrage du projet__ {COUNTDOWN}
@@@
{REMARKSBOX(type="tip" title="Note pour l'exemple ci-dessus")}''Affiche un texte personnalisé au lieu du temps écoulé pour une date passée.''{REMARKSBOX}
@@@
''5. Ce code,''
{CODE(colors="tiki")}{COUNTDOWN(enddate="01-Apr-2010" since="y" show="yodhms")} __la date de démarrage du projet__ {COUNTDOWN}{CODE}
---
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)}{ATTACH}
---
''Produira :''
{COUNTDOWN(enddate="01-Apr-2010" since="y" show="yodhms")} __la date de démarrage du projet__ {COUNTDOWN}
@@@
{REMARKSBOX(type="tip" title="Note for above example")}''Afficher le temps écoulé depuis une date passée à la seconde près''{REMARKSBOX}
{SPLIT} 

Si vous souhaitez rafraîchir automatiquement la page toutes les 60 secondes, vous pouvez utiliser ce code :

{CODE(colors="tiki")}{HTML()}<meta http-equiv="refresh" content="60">{HTML}{CODE}

ou utiliser un module JavaScript ou jQuery pour réaliser cette opération, ou peut-être un appel Ajax pour le module ..... Si vous trouvez une meilleure méthode que celle décrite ci-dessus, n'hésitez pas à la documenter ici.
        

History

Information Version
olinuxx 23
olinuxx 22
olinuxx mise à jour par rapport à la page en anglais 21
Olaf-Michael Stefanov 20
Olaf-Michael Stefanov 19
Olaf-Michael Stefanov 18
Olaf-Michael Stefanov 17
Olaf-Michael Stefanov 16
olinuxx traduction 14
olinuxx 13
olinuxx ptits trucs 12
olinuxx 11
olinuxx traduction 10
olinuxx 9
olinuxx 8
olinuxx Countdown Plugin modified by editor. 7
olinuxx Fancy Table Plugin modified by editor. 6
olinuxx Fancy Table Plugin modified by editor. 5
olinuxx Fancy Table Plugin modified by editor. 4
olinuxx Fancy Table Plugin modified by editor. 3
olinuxx Fancy Table Plugin modified by editor. 2
olinuxx traduction 1