Fullscreen
Display a report in a wiki page (from the data in a tracker) (Cached)
Refresh Print

Previous page Parent page Next page TOC
Structure   (8.15.6.90)   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 (only public fields), you can display status of the item, and you have the opportunity to filter the items.

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 mose on a field with a link to th 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.
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 (fields) of the tracker in a specific order, where field is the field name either acending or descending
max(numeric)=> or -1 for all valuesDefault is the list number set in admin->generalthe maximum number of items to list
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)
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)
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 currant user for the trackerIdtw>=2.0
view=apge 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_user| |string|will display the items of this user|tw>=2.0
url|url| |the link taht 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|tw>=2.0, itemId tw>=3.0
ldelim|string|{|smarty left delimiter (for latex generation you can use @{ for instance|tw >=2.0
rdelim|string|}|smarty roght delimiter (for latex generation you can use }@ for instance|tw >=2.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


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: sylvie863 points  , davidchavalarias2 points  , mlpvolt1114 points  , xavi1064 points  and marclaporte1646 points  .
Page last modified on Friday 22 August, 2008 17:41:07 UTC by sylvie863 points .

Search by Page Name

Exact match

Documentation Menu [toggle]

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

Downloads hosted by

SourceForge.net Logo