|
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | Title | |||
trackerId |
digits | Numeric value representing the tracker ID | 2.0 | |
show_lastmodif |
text | Show last modification date of a tracker. Set to Yes (y ) to use site setting for
the short date format or use PHP's format (www.php.net/strftime). Example: |
5.0 | |
fields |
separator: : |
Colon-separated list of field IDs to be displayed. Example: 2:4:5 . Leave it empty to display all fields from this tracker. |
2.0 | |
show_bar |
(blank) y n |
Choose whether to show a bar representing the number of votes each option received (not shown by default) | n | 2.0 |
show_count |
(blank) y n |
Choose whether to show the count of votes each option received (shown by default) | y | 10.3 |
show_link |
(blank) y n |
Add a link to the tracker | n | 3.0 |
show_percent |
(blank) y n |
Choose whether to show the percentage of the vote each option received (not shown by default) | n | 2.0 |
status |
(blank) o p c op oc pc opc |
Only show items matching certain status filters | o | 2.0 |
This plugin did not handle the "user selector" tracker field type until Tiki18.
This code:
{TRACKERSTAT(trackerId="1" fields="2:4" show_percent="y" show_bar="n" show_count="y" status="o|c|p|op|oc|pc|opc" show_link="n")}Title{TRACKERSTAT}
Would produce (if fieldId 2 is "My question", a radio field "yes, no" and if fieldId 3 is "And rate it", a drop down list)