Fullscreen
Display a report in a wiki page (from the data in a tracker)
3d browser Print

Previous page Parent page Next page TOC
Structure   (7.15.6.132)   Documentation  »  Features  »  Wiki  »  Wiki Plugins  »  PluginTrackerList

PluginTrackerList


This plugin for trackers enables you to display a report of the listed items of a tracker. You can choose which fields you want to display, you can display status of the item, and you have the opportunity to filter the items. Only fields registered as public are available through the plugin.

Syntax
example
{TRACKERLIST(trackerId=>1,fields=>2:4:5,
showtitle=>y|n,showlinks=>y|n,showdesc=>y|n,showinitials=>y|n,showstatus=>y|n,status=>o|p|c|op|oc|pc|opc,
sort_mode=>,max=>,
filterfield=>,filtervalue=>,exactvalue=>,
checkbox=>fieldId/name/title/submit/action/tpl)}
Notice 
{TRACKERLIST}


Parameters:


ParameterOptions/SyntaxDefaultExplanationTikiwiki version
trackerId(numeric)requiredYou must enter the ID number of the right tracker
fields(numeric,colon separated) Allows the selection of specific tracker fields. In 2.0, the order of the fieldIds will be respected if the sort param is 'y', in 1.9, the order is the one defined in the tracker
sorty/nnDisplays the fileds in the order of the fields param and not the order of trackerlist tw>=2.0
popup(numeric, colon separated) When passing the mouse on a field with a link to the item in the list, a popup with the values of these field will be displayedtw >=2.0
stickypopupy/nnThe popup will be sticky = displayed until another popup is displayed(useful when link inside the popup)tw>=2.0
showtitley/nnDisplays the title of the tracker
showlinksy/nnHyperlinks to the tracker item view for each item. There should be at least one field marked as browsable for this to work.
shownbitemsy/nnDisplays the number of items foundtw>=2.0
showinitialsy/nnDisplays an alphabetical index by first letter (A,B,C,...) above the list to assist navigation. All the items that have a field value beginning with this letter will be filtered.
showdescy/nnDisplays the tracker's description
showfieldnamey/nyDisplays the tracker field names as heading of the tabletw >=1.9.8
showcreatedy/nTracker configDisplays the creation date tw >=2.0
showlastmodify/nTracker configDisplays the last modification date tw >=2.0
statuso/p/c/op/pc/oc/opco Filters by status (open,pending,closed) - e.g. "op" displays only the open and pending items.
sort_modef_fieldId_asc or f_fieldId_desc or created_asc or created_desc or lastModif_asc or lastModif_descdefault (numerical) orderOrders the columns of the tracker ascending (_asc) or descending (_desc). Replace fieldId with the desired ID Number of the field. Example: sort_mode=>f_2_asc.
max(numeric)=> or -1 for all valuesDefault is the list number set in admin->generalThe maximum number of items to list.
Note: max=-1 also removes pagination from the plugin.
filterfieldtw<2.0 numeric, tw>=2.0 list of numerics separated with : The field Id or the list of fieldIds used for filtering
filtervaluetw<2.0 text, tw>=2.0 list of texts separated with : Filter value of the filterfield. (ex: *value will look for something finishing with value , value* begin with, value contains value) If you use the special value #user, the value will be automatically replaced with the user name(be carefull it will look for all the users that has part of their name containing the curretn user name)
exactvaluetw<2.0 text, tw>= 2.0 list of texts separated with : Exact value of the filter (if filterfield is an array, exact value must be an array). In tw>=3.0, the value #user is replaced by the current login name.
checkboxsee below Adds a checkbox on each line to be able to do an action. The parameters of this parameter are separated with /
goIfOney or nnGo directly to tiki-view_tracker_item.php if only one item is found tw >=1.9.8
morey or nn A more button that links to tiki-view_tracker
tplfile.tpl A smarty template that allows to displays each item with this template: {$f_fieldId} is the parsed value of the field for this item.tw >=2.0
wikipagename The same function than tpl but in a wiki page. The page must have the perm tiki_p_use_as_template tw >= 2.0
viewuser or page view=user will display only the items of the current user for the trackerIdtw>=2.0
view=page will display the item of the page (the tracker must avec a page selector field with the automatic feed set to1 tw>=3.0
view_userstring Will display the items of this usertw>=2.0
urlurl The link that will be on each main field (showlinks must be 'y'). If the url comtains itemId, the link will be completed with the value of the itemId(ex: url="mypage&itemId")tw>=2.0, itemId tw>=3.0
ldelimstring{Smarty left delimiter (for latex generation you can use @{ for instancetw >=2.0
rdelimstring}Smarty right delimiter (for latex generation you can use }@ for instancetw >=2.0
list_modey or n if y the value will be truncated to 255 characters tw>=3.0
itemIdID the itemId if list only this item (tw >=4, if itemId is defined in the url, the value will be used tw>=2.0
ID:ID:ID a list of itemIds separated by : tw >=3.0
exporty or nnwill add a button that links to the tracker export page with the fields and eventual filters from TRACKERFILTER preset tw >=3.0
computefieldId/operator :fieldId/operator a list of fieldId/type_operation separated by :tw >=3.0
showitemranky or nnwill show a column rank with the rank of the item tw >=4.0
silenty on nnwill show nothing at all is no itemstw >=4.0


filterfield

  • when filterfield is a dropdown box, exactvalue must be the text of the item in the drop down list without quotation marks
  • when filterfield is a category, exactvalue must be the numeric id (without quotation marks) of the category item to filter the list

After tw>=2.0 filterField can specify a list of fieldIds. In this case filtervalue and exactvalue must be synchronised to filter the value of each field
  • Example: filterfield=1:2, filtervalue=this:that
will filter the items with the field 1 'like' this and field 2 like 'that'
  • Example: filterfield=1:2, exactvalue=this:that
will filter items with the field 1 equals to 'this' and field 2 equals to 'that'
  • Example: filterfieldId=1:2, filtervalue=:this, exactvalue=that
will filter items with field 1 equals to 'that' and field 2 likes 'this'

checkbox

    • fieldId is the field Id whose value will be posted to the action
    • name is the name of the post
    • title is the title of the button
    • submit is the name of the submit button
    • action is the script that will be called on the submit
    • tpl is an optional template that be inserted before the submit button that will also be returned
    • Example: checkbox:6/to/Email to the checked//messu-compose.php - in this example the fieldId 6 is the user name as messu-compose.php accepts to as param

'pretty trackers' (param tpl or wiki)

tw>= 2.0
It is possible to monitor how an item is displayed in a page with a smarty template or a wiki page containing smarty code
For instance
{TRACKERLIST(trackerId=5, fields=30:31, showcreated=y, wiki=resource tracker 5) /}

where fieldId=30 and fieldId=31 are 2 fields of the trackerId 5
{$f_30} : {$f_31}{tr} was created in {/tr}__{$f_created|tiki_short_date}__

PS: the page needs the perm tiki_p_use_as_template to be displayed
will produced some display like
324: foobar was created on __Thu 23/10/08__
 311: toto was created in __Wed 23/10/07__

PS: $f_created and $f_lastmodif have been introduced in tw>= 3.0

compute

This allows you to display global information about a numeric field like the sum of all the values or the average.
{TRACKERLIST(trackerId=5, fields=12:15:142:466, compute=142:466/avg) /}

will give something like

If you want to use sum et average on the same field use compute=146/sum:146/avg

Example

http://dev.tikiwiki.org/All+Bugs (external link) (see page source to see how the plugin is used to generate the report)


Contributors to this page: sylvie1679 points  , estrelow2 points  , slordjette104 points  , ragnvald5 points  , sch3lm6 points  , davidchavalarias2 points  , mlpvolt1470 points  , xavi8602 points  and marclaporte2952 points  .
Page last modified on Tuesday 30 June, 2009 18:05:19 UTC by sylvie1679 points .

Documentation Menu

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

This site gets user information from Tikiwiki.org with the InterTiki feature.

Folksonomy

Anti-Bot verification code: Random Image
Enter the code you see above:

Compare

Wiki Feature Comparison

Search by Page Name

Exact match

Menu

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Backup
Banner
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Charts
Chat
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Group Home Page)
Database independence
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Drawing
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Game
Gmap Google maps
Group
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
JS Calendar
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
Mootools 2.x
Multimedia 2.x
MultiTiki
MyTiki
Newsletter
Newsreader
Notepad
PDF
Performance Speed / Load
Permission
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Poll
Profile Manager
Quicktags
Quiz
Rating
RSS
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Survey
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workflow (Galaxia Workflow engine)
WYSIWYCA
WYSIWYG 2.x
XMLRPC