Loading...
 
Skip to main content
Show a timeline view of a tracker

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
tracker digits Numeric value representing the tracker ID 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
scale alpha Set a fixed scale for the time axis of the Timeline. Choose from 'millisecond', 'second', 'minute', 'hour', 'weekday', 'week', 'day', 'month', 'year' month 29.0
step number Set a fixed step size for the time axis. Only applicable when used together with scale parameter. Choose for example 1, 2, 5, or 10 1 29.0
height text Height of the timeline band as a CSS unit (for example 250px, 75%,...) 9.0
orientation text Orientation of the timeline axis and items. When orientation is a string, the value is applied to both items and axis. Can be 'top', 'bottom' (default), 'both' or 'none'. bottom 29.0
link_group (blank)
y
n
Convert the group name to a link 3.0
lower The initial start date for the axis of the timeline. If not provided, the latest date present in the items set is taken as end date. Date must be provided in YYYY-MM-DD HH:mm:ss format. 3.0
max TSet a maximum Date for the visible range. It will not be possible to move beyond this maximum.Date must be provided in YYYY-MM-DD HH:mm:ss format. 29.0
min TSet a minimum Date for the visible range. It will not be possible to move beyond this minimum.Date must be provided in YYYY-MM-DD HH:mm:ss format. 29.0
upper The initial end date for the axis of the timeline. If not provided, the latest date present in the items set is taken as end date. Date must be provided in YYYY-MM-DD HH:mm:ss format. 3.0
color digits Tracker Field ID containing the item color(that field must contains valid css color like : red, yellow,#FAEBD7,BlanchedAlmond , ... . 29.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
image_field digits Tracker Field ID containing the image file. 7.0
link_page digits Tracker Field ID containing the page name for item details. 3.0
type digits Tracker Field ID containing the type of item. The type of the item can be 'box' (default), 'point', 'range', or 'background'. Types 'box' and 'point' need a start date, the types 'range' and 'background' needs both a start and end date. 29.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:

Image

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:


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

Collapse/expand modules below