Plugin Tracker Timeline

Introduced in Tiki3, with support for SIMILE Timeline added in Tiki7

Use this wiki plugin shows a timeline view of a tracker, which can be used to display event schedules or gantt charts. The tracker needs to have a field title, a field summary, a field start, a field end, a text field (to group event together). The plugin can work on different scale: hour, day, month, year

Parameters

Show a timeline view of a tracker
Introduced in Tiki 3. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_trackertimeline, feature_trackers

Parameters Accepted Values Description Default Since
lower Date from which element should be displayed. Date must be provided in YYYY-MM-DD HH:mm:ss format. 3.0
tracker digits Numeric value representing the tracker ID 3.0
upper Date until which element should be displayed. Date must be provided in YYYY-MM-DD HH:mm:ss format. 3.0
group digits Tracker Field ID containing the element's group. Elements of a same group are displayed on the same row. 3.0
end digits Tracker Field ID containing the element end date. The field must be a datetime/jscalendar field. 3.0
start digits Tracker Field ID containing the element start date. The field must be a datetime/jscalendar field. 3.0
summary digits Tracker Field ID containing the summary of the item. The summary will be displayed on the timeline when the item is focused. 3.0
title digits Tracker Field ID containing the item title. 3.0
band2_height int Height of the lower timeline band as a percentage (default: 250p - - * SIMILE only) 30 9.0
height text Height of the timeline band as a CSS unit (default: 250p - - * SIMILE only) 250px 9.0
link_group (blank)
y
n
Convert the group name to a link 3.0
scale1 (blank)
hour
day
week
month
year
decade
century
Unit of time to use for the primary scale (default to hour - * SIMILE only) hour 3.0
simile_timeline y
n
Use the SIMILE Timeline Widget. n 7.0
scale2 (blank)
hour
day
week
month
year
decade
century
Unit of time to use for the secondary scale (default to empty - * SIMILE only) 3.0
image_field digits Tracker Field ID containing in image. 7.0
link_page digits Tracker Field ID containing the page name for item details. 3.0

Examples

Example 1

This code:

Copy to clipboard
{trackertimeline tracker="10" title="24" summary="25" start="26" end="27" lower="2010-03-20" upper="2010-04-10" group="28" scale1="day"}


Would produce:

trackertimeline.png

Example 2

This code:

Copy to clipboard
! TikiFest Timeline You may have to reload page for timeline to load: work in progress ;-) {trackertimeline tracker="5" title="26" summary="27" start="28" end="29" group="30" lower="2003-01-01 00:00:00" upper="2012-01-01 00:00:00" scale1="month" scale2="year" simile_timeline="y" image_field="38"}

Would produce:

Image


Data comes from Tracker5 with this type of information:

title startInvert Sort end group link image
Munich 2003-09-01 2003-09-05 tikifest
Paris 2003-09-02 2003-09-30 tikifest
Dakar 2004-01-04 2004-01-05 tikifest
Paris 2004-01-22 2004-01-28 tikifest
TikiFest1 Montreal 2004-01-24 2004-01-27 tikifest http://tiki.org/TikiFest1
Montreal 2008-05-14 2004-04-07 tikifest
San Dimas 2004-04-29 2004-04-30 tikifest
London 2004-07-02 2004-07-03 tikifest http://tiki.org/TikiFestUK
TikiFestMontreal6 2010-08-27 2010-08-28 tikifest http://tiki.org/TikiFestMontreal6
TikiFestTampa 2010-09-25 2010-09-27 tikifest http://tiki.org/TikiFestTampa
TikiFestNewYork6 2010-10-03 2010-10-06 tikifest http://tiki.org/TikiFestNewYork6
TikiFestBerlin2010 2010-11-12 2010-11-14 tikifest http://tiki.org/TikiFestBerlin2010
TikiFestLondon6 2010-11-22 2010-11-24 tikifest http://tiki.org/TikiFestLondon6
TikiFestQuebec7 2011-02-12 2011-02-13 tikifest http://tiki.org/TikiFestQuebec7
TikiFestConfoo2011, Confoo.ca 2011-03-04 2011-03-08 tikifest http://tiki.org/TikiFestConfoo2011
TikiFestBoston7 2011-03-14 2011-03-18 tikifest http://tiki.org/TikiFestBoston7