History: Profile_Tracker_as_Calendar_page_10
Source of version: 7 (current)
Copy to clipboard
{TABS(name="Tracker-as-Calendar-Tabs" tabs="Manage items through Fullcalendar (Tiki 10) & Filter items (Tiki 9)|Add items" toggle="y" inside_pretty="n")} !! Display tracker items in a calendar or resource view Using TrackerCalendar: http://doc.tiki.org/PluginTrackerCalendar {trackercalendar trackerId="$profileobject:trac_as_cal$" begin="trac_as_cal_start_date" end="trac_as_cal_end_date" resource="trac_as_cal_location" coloring="trac_as_cal_priority"} !! Filter upcoming events {SPLIT(colsize="20%|2%|78%")} {TRACKERLIST(trackerId="$profileobject:trac_as_cal$", ignoreRequestItemId="y", fields="$profileobject:trac_as_cal_summary$:$profileobject:trac_as_cal_location:$profileobject:trac_as_cal_priority$:$profileobject:trac_as_cal_description$:$profileobject:trac_as_cal_start_date$:$profileobject:trac_as_cal_end_date$", status="op", showlinks="y", filterfield="$profileobject:trac_as_cal_start_date$", exactvalue="greaterequal(now)", calendarfielddate="$profileobject:trac_as_cal_start_date$", calendarviewmode="month", calendarstickypopup="y", calendarviewnavbar="n", calendarviewnavbar="partial")} {TRACKERLIST} {TRACKERLIST(trackerId="$profileobject:trac_as_cal$", ignoreRequestItemId="y", fields="$profileobject:trac_as_cal_summary$:$profileobject:trac_as_cal_location$:$profileobject:trac_as_cal_priority$:$profileobject:trac_as_cal_description$:$profileobject:trac_as_cal_start_date$:$profileobject:trac_as_cal_end_date$", status="op", showlinks="y", filterfield="$profileobject:trac_as_cal_start_date$", exactvalue="greaterequal(now)", calendarfielddate="$profileobject:trac_as_cal_start_date$", calendarviewmode="month", calendarstickypopup="y", calendarviewnavbar="n", calendardelta=month, calendarviewnavbar="partial")} {TRACKERLIST} --- ~hs~ --- {TRACKERFILTER(trackerId="$profileobject:trac_as_cal$", filters=$profileobject:trac_as_cal_summary$/d:$profileobject:trac_as_cal_location$/d:$profileobject:trac_as_cal_priority$/d:$profileobject:trac_as_cal_description$/t:($profileobject:trac_as_cal_summary$:$profileobject:trac_as_cal_description$)/sqlsearch, fields="$profileobject:trac_as_cal_summary$:$profileobject:trac_as_cal_location$:$profileobject:trac_as_cal_priority$:$profileobject:trac_as_cal_description$:$profileobject:trac_as_cal_start_date$:$profileobject:trac_as_cal_end_date$", showtitle=n, showlinks=y, showdesc=n, showinitials=n, showstatus=y, status=opc, sort_mode=f_$profileobject:trac_as_cal_start_date$_asc, displayList="y", filterfield="$profileobject:trac_as_cal_start_date$", exactvalue="greaterequal(now)", line="n")}{TRACKERFILTER} {img src="img/icons/add.png" link="tiki-view_tracker.php?trackerId=$profileobject:trac_as_cal$&cookietab=2"} [tiki-view_tracker.php?trackerId=$profileobject:trac_as_cal$&cookietab=2|Add event|box] [tiki-view_tracker.php?trackerId=$profileobject:trac_as_cal$&sort_mode=lastModif_asc&status=opc|Show all events] (including closed) {SPLIT} ///// !!Add items to be displayed as calendar events {tracker trackerId="$profileobject:trac_as_cal$" fields="$profileobject:trac_as_cal_summary$:$profileobject:trac_as_cal_location$:$profileobject:trac_as_cal_priority$:$profileobject:trac_as_cal_description$:$profileobject:trac_as_cal_start_date$:$profileobject:trac_as_cal_end_date$" url="tiki-index.php?page={{page}}"} {TABS}