Fullscreen
[Show/Hide Right Column]

Plugin TrackerTimeline

This was introduced in Tiki3 and support for SIMILE Timeline was added to Tiki7 (use the plugin helper and look for the option).


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

Usage

To display a module in a wiki page, use the syntax:
{TRACKERTIMELINE(tracker= , title= , summary= , start= , end= ,group= , lower= , upper= , scale1= , scale2= , link_group= , link_page= , simile_timeline= , image_field= ) /}


Required parameters are in bold
Preferences required: wikiplugin_trackertimeline, feature_trackers
Parameters Accepted Values Description Default Since
tracker digits Numeric value representing the tracker ID
title digits Tracker Field ID containing the item title.
summary digits Tracker Field ID containing the summary of the item. The summary will be displayed on the timeline when the item is focused.
start digits Tracker Field ID containing the element start date. The field must be a datetime/jscalendar field.
end digits Tracker Field ID containing the element end date. The field must be a datetime/jscalendar field.
group digits Tracker Field ID containing the element's group. Elements of a same group are displayed on the same row.
lower Date in YYYY-MM-DD HH:mm:ss format Date from which element should be displayed. Date must be provided in YYYY-MM-DD HH:mm:ss format.
upper Date in YYYY-MM-DD HH:mm:ss format Date until which element should be displayed. Date must be provided in YYYY-MM-DD HH:mm:ss format.
scale1 hour
day
week
month
year
decade
century
Unit of time to use for the primary scale (default to hour - * denotes SIMILE only) hour
scale2 hour
day
week
month
year
decade
century
Unit of time to use for the secondary scale (default to empty - * denotes SIMILE only)
link_group y
n
Convert the group name to a link
link_page digits Tracker Field ID containing the page name for item details.
simile_timeline y
n
Use the SIMILE Timeline Widget. n
image_field digits Tracker Field ID containing in image.


Example using Tiki6

This code,
{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 using Tiki8

This code will fetch data from a tracker and would display it in the wiki page with the Simile Timeline engine:

Tiki code in the wiki page
! 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"}


Output produced:


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


Related pages

Contributors to this page: lindon132 points  , xavi67871 points  , Marc Laporte9140 points  , sylvie7387 points  and system .
Page last modified on Monday 23 January, 2012 17:05:59 UTC by lindon132 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki

Show php error messages
 
PHP (5.3.5-1ubuntu7.8) ERROR (E_WARNING):
File: lib/images/abstract.php
Line: 231
Type: getimagesize(display644) [function.getimagesize]: failed to open stream: No such file or directory