Loading...
 
Skip to main content

History: Date Tracker Fields

Source of version: 21

Copy to clipboard
            ! {{page}}
These are the tracker field types which allow you to have date/time
* Date and Time (Tiki9+)
* Date and Time (Date Picker) (Tiki9+)
* Date and Time (Calendar Item) (Tiki18+)

{img src="display736" url="display736" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}

!! Tiki24 
https://gitlab.com/tikiwiki/tiki/-/merge_requests/1073

!! Date & Time Tracker Field
The options are:
||__Parameters__|__Value__|__Description__
Type | dt or d |dt for date and time, d for date
start_year|4 digits number|first year in the drop down (ex: 1968)
end_year|4 digits number|last year in the drop down (ex: 2020)
Default selection | Current Date or Blank | Indicates if blank dates should be allowed.. allows to have date not set. 'Blank' means that the default is blank.
||
{BOX(float="right",width="30%")}Date can be blank, but does not default to blank. Blank by selecting empty in any date field.{BOX}It the parameter date_time is 'd', the user will be asked to enter only a date not a time. If the param blank_date is 'blank', the user can --not fill-- empty the field.

If the field is flagged as Mandatory, this option is ignored.  If the field is flagged as ''not'' Mandatory, then the addition of an empty option will default the field to --a blank date instead of-- the current date or the stored date for the field.

!! Date & Time (Date Picker) Tracker Field
Provides jQuery-UI date picker select a date and optionally time.

The options are:
||__Parameters__|__Value__|__Description__
Type | Date and Time / Date only |  Components to be included
Default value | None (undefined)  / Item creation date and time | Default date and time for new items
||

At tracker item insertion time, when the user clicks at the little calendar-like icon, the Date picker Jquery widget will show up:

{img src="display737" url="display737" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}

!! Date & Time (Calendar Item) Tracker Field
This field allows to associate calendar items with tracker items. Added in ((Tiki18))

The options are:
||__Parameters__|__Value__|__Description__
Calendar Id |  |  Calendar to use for associated events
Show Event Id |  | Show an input for the event id when editing the field, allow lost events to be reattached
||


!! Details from former Tiki versions
The former preference "Admin home > Calendar > Jscalendar" seems to have no effect on the trakcer field "Date and Time (Date Picker)". In some previous Tiki versions, the ((Js Calendar)) setting added a visual selector of dates based on javascript (earlier than the Jquery date picker widget).

Date Only is currently only available in tikiwiki 1.9, the other two are available in tikiwik>=1.9
The options on Date & Time and Jscalendar types are only available in tikiwiki>= 1.10

Here is an example of the plugin tracker on a tracker using different comfiguration of these fields
{BOX()}
{img src="img/wiki_up/date.jpg"}
{BOX}
In this example you see the popup of the jscalendar field that has been opened.  Note that this image does not depict the Date Only field.

!!! Date & Time Tracker Field
The options are:
||__Parameters__|__Value__|__Description__
date_time|dt or d or t|dt for date and time, d for date, t for time (only for tw>?)
start_year|4 digits number|first year in the drop down (ex: 1968) - no significant for jscalendar
end_year|4 digits number|last year in the drop down (ex: 2020) - no significant for jscalendar
blank_date|blank or empty| allows to have date not set. 'Blank' means that the default is blank. 'Empty'(tiki>=6.2) means that the default is the current date
||
{BOX(float="right",width="30%")}Date can be blank, but does not default to blank. Blank by selecting empty in any date field.{BOX}It the parameter date_time is 'd', the user will be asked to enter only a date not a time. If the param blank_date is 'blank', the user can --not fill-- empty the field.

If the field is flagged as Mandatory, this option is ignored.  If the field is flagged as ''not'' Mandatory, then the addition of an empty option will default the field to --a blank date instead of-- the current date or the stored date for the field.

!!!Jscalendar Tracker Field
The option is :
||__Parameters__|__Value__|__Description__
date_time|dt or d|dt for date and time(default), d for date
||
It the date_time is date, the user will be ask to enter only a date not a time.It the date can be blank, the user can not fill the field.

-=Alias names for this page=-
*(alias(Date / Jscalendar Tracker Field))
*(alias(Date and time Tracker Field))
* (alias(Date Tracker Field))
* (alias(Date Picker))
        

History

Advanced
Information Version
Marc Laporte 26
Bernard Sfez / Tiki Specialist Adding details about recurring event 25
Bernard Sfez / Tiki Specialist 24
Bernard Sfez / Tiki Specialist Adding preferences for calendar item field type 23
Bernard Sfez / Tiki Specialist Improving existing content 22
Marc Laporte 21
Xavier de Pedro My 2 cents fropm what I saw in the php file 20
Xavier de Pedro 19
Xavier de Pedro 18
Xavier de Pedro 17
Bruce L. Van Buren 15
Bruce L. Van Buren 14
Bruce L. Van Buren 13
Bruce L. Van Buren 12
sylvie 11
sylvie 10
Marc Laporte 9
Gemstone 8
Klaus Lindow 7
Mike 6
Mike Added date only details. 5
sylvie 4
sylvie 3
sylvie 2
system created from structure 1