Go to the first, previous, next, last section, table of contents.

- `Description'
-
Display the records associated with a date field included in the
period specified by the date argument of the cgi-bin.
A calendar of the period is displayed for each period that contains at
least one record and the number of records is calculated for each period.
The period used to find records to display can be different from the
period used to find entries displayed in the calendar. This is achieved
by using the index_date and records_date cgi-bin parameters.
To improve performances, the number of entries for each period is cached
in a temporary table. The cache is refreshed every 24h. If an immediate
refresh is necessary, the cdate_count action may be used to flush
the cache.
- `Template files'
-
- `cdate_default.html'
-
See section cdate_default.html.
- `cdate_<template>.html'
-
This template will be used if the template cgi-bin parameter is
set. This is typically the case if you want a different display to
display all the years of the current period, only one year, only one month
or only one day. See the template parameter description below.
- `Parameters'
-
- `context (mandatory, cdate)'
-
- `name (mandatory)'
-
Unique name of the catalog.
- `template (optional, default default)'
-
Modifies the name of the template used to display the results. If omitted it
defaults to the string default. The template name used is calculated
in the following manner:
date_<template>.html
This is typically used to differentiate templates that display years, months
and days.
- `date (optional)'
-
Specify the period for both calendar and records displayed. It may have
the following forms:
- `YYYY'
-
Defines the period from January 1st 00:00 to December 31 23:59
of the YYYY year.
- `YYYYMM'
-
Defines the period from the first day of YYYYMM month 00:00h
to last day of the same month 23:59h.
- `YYYYMMDD'
-
Defines the period of the YYYYMMDD day from 00:00h to 23:59h.
- `records_date'
-
Same syntax as parameter date but only applies to the display of
records.
- `index_date'
-
Same syntax as parameter date but only applies to the display of
the calendar.
Go to the first, previous, next, last section, table of contents.