Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: Tracker_as_Calendar_09
View page
Source of version: 12
(current)
Tracker data can also be displayed through a Calendar layout in Tiki. This profile is a showcase of that feature configuration. This page will be created: ((Profile_Tracker_as_Calendar_page_09)) {CODE(caption=>YAML,wrap=>0)} preferences: feature_trackers: y feature_user_watches: y wikiplugin_split: y wikiplugin_tabs: y wikiplugin_trackerlist: y wikiplugin_trackerfilter: y instructions: Profile_Tracker_as_Calendar_page_09 objects: - type: tracker ref: trac_as_cal data: name: Tracker to show items thorugh a calendar description: Tracker Events to be shown through a Tiki Calendar default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments, attachments ] - type: tracker_field ref: trac_as_cal_summary data: name: Summary tracker: $trac_as_cal type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: trac_as_cal_priority data: name: Priority tracker: $trac_as_cal type: dropdown options: 5 (high),4,3,2,1 (low) flags: [ searchable, public, list ] order: 20 - type: tracker_field ref: trac_as_cal_description data: name: Description tracker: $trac_as_cal type: text_area options: 1 flags: [ public, mandatory ] order: 30 - type: tracker_field ref: trac_as_cal_start_date data: name: Start date tracker: $trac_as_cal type: datetime options: dt,2012,2013 flags: [ searchable, public, list ] order: 40 - type: tracker_field ref: trac_as_cal_end_date data: name: End date tracker: $trac_as_cal type: datetime options: dt,2012,2013 flags: [ searchable, public, list ] order: 50 {CODE} ! Sample data {CODE(caption=>YAML,wrap=>1)} objects: - type: tracker_item ref: event_001 data: tracker: $Tracker_as_Calendar_09:trac_as_cal status: open values: - [ $Tracker_as_Calendar_09:trac_as_cal_summary, Sample upcoming event item ] - [ $Tracker_as_Calendar_09:trac_as_cal_start_date, 1453059200 ] - [ $Tracker_as_Calendar_09:trac_as_cal_end_date, 1453069200 ] - [ $Tracker_as_Calendar_09:trac_as_cal_priority, 3 ] - [ $Tracker_as_Calendar_09:trac_as_cal_description, "This item was created as part of the sample data for Tracker_as_Calendar." ] - type: tracker_item ref: event_002 data: tracker: $Tracker_as_Calendar_09:trac_as_cal status: pending values: - [ $Tracker_as_Calendar_09:trac_as_cal_summary, This is another interesting event ] - [ $Tracker_as_Calendar_09:trac_as_cal_start_date, 1343664000 ] - [ $Tracker_as_Calendar_09:trac_as_cal_end_date, 1343769200 ] - [ $Tracker_as_Calendar_09:trac_as_cal_priority, 2 ] - [ $Tracker_as_Calendar_09:trac_as_cal_description, "This will soon happen" ] - type: tracker_item ref: event_003 data: tracker: $Tracker_as_Calendar_09:trac_as_cal status: closed values: - [ $Tracker_as_Calendar_09:trac_as_cal_summary, A really awesome past event ] - [ $Tracker_as_Calendar_09:trac_as_cal_start_date, 1341244800 ] - [ $Tracker_as_Calendar_09:trac_as_cal_end_date, 1341246800 ] - [ $Tracker_as_Calendar_09:trac_as_cal_priority, 5 ] - [ $Tracker_as_Calendar_09:trac_as_cal_description, "This event already happened and that's why it's closed." ] {CODE} ! Modules {CODE(caption=>YAML)} objects: - type: module ref: module_last_modif_tracker_items data: name: last_modif_tracker_items groups: [ Anonymous, Registered ] position: right order: 5 params: trackerId: $Tracker_as_Calendar_09:trac_as_cal name: Summary - type: module ref: module_last_tracker_comments data: name: last_tracker_comments groups: [ Anonymous, Registered ] position: right order: 9 {CODE} !!Add a page to allow adding items and display them in a calendar view This will include: ((Profile_Tracker_as_Calendar_page_09)) {CODE(caption=>YAML)} instructions: Tracker_as_Calendar_09 preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: trac_as_cal_page data: name: Tracker_as_Calendar_09 description: Upcoming events based on a tracker lang: en content: wikicontent:Profile_Tracker_as_Calendar_page_09 {CODE} !!Plugin to embed events information (from tracker items) in pages {CODE(caption=>YAML,wrap=>1)} objects: - type: plugin_alias data: name: event implementation: trackerlist description: name: Event Embed description: Displays an event's information inside a wiki page prefs: [ feature_trackers ] params: id: name: ID description: Event ID matching the tracker item ID required: true filter: digits body: input: ignore params: trackerId: $trac_as_cal fields: $profileobject:trac_as_cal_summary$:$profileobject:trac_as_cal_description$:$profileobject:trac_as_cal_start_date$:$profileobject:trac_as_cal_priority$ showlinks: "y" showstatus: "y" status: opc max: 1 showlastmodif: "n" showfieldname: "n" itemId: pattern: "%id%" params: id: default: 0 {CODE}
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
Tiki version
21.x
24.x
26.x
27.x
28.x
Deprecated
25.x
state
Not fully functional yet
alpha
beta
release
type
Available in the Profiles Wizard (12+)
Featured profiles
Full profile (out of the box & ready to go)
Learning profile (to show off feature)
Long tail
Mini-profile (can be included in other)
Profile-snippet (optional but needs another "parent" profile)
Security
Tests
Latest Changes
Test_all_tracker_field_types_profile
Scheduler_Presets_20
Tracker_as_Calendar_09
Tracker_as_Calendar_10
Hide Fixed Top Nav Bar on Scroll 19
Easy_GeoBlog
test_profile_change
Profiles_in_Wizard
Random_header_images_14
Hide Fixed Top Nav Bar on Scroll 19
How to Create Profiles
Test_All_Plugins
JonnyBs_Luxury_Tiki_Setup
Collaborative_Multilingual_Terminology
Profile_Test_all_Modules_Test_all_Modules_page
...more
Like almost all *.tiki.org sites, you can log in with your login from
https://tiki.org
(register over there)
Search
Find
Most Popular Tags
admin
agenda
alias
antibot
antibot captcha
app
archive
articles
banning
batch
blogs
calculations
calendars
cart
categories
cluster
codemirror
comments
computation
contact us
datachannel
debug
debug console
dropdown with other
error messages
features
file galleries
forums
geo
geocms
geolocation
group homepages
group watches
header
i18n
images
item link
items list
jquery
languages
location
map
maps
maths
menu
menupage
multilingual
ol3
ol5
openlayers
paypal
plugin
plugin alias
plugin datachannel
plugin fade
plugin tabs
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackers
user watches
visualization
watches
webservice
wiki
wiki argument variables
wiki structures
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!