How to display only the number/count of items in a Tracker
I'm looking for an easy way to display the number (i.e., the count) of items in a tracker that match specific criteria.
Basically, I want to use TRACKERLIST and return only the # of items — not the actual traker items themeselves. I was able to come close by using something like:
Copy to clipboard
{trackerlist trackerId="1" fields="1" shownbitems="y" status="o" filterfield="19" exactvalue="Yes" list_mode="csv" wiki="EmptyTemplateTPL"}
And then my _EmptyTemplateTPL is a blank wiki page. This gets me most of the way... I get a single line returned:
Copy to clipboard
Items found: 9
Which is hardcoded in the wikiplugin_trackerlist.tpl. I could edit that .tpl, but I'd rather not (as I use it elsewhere and want the text).
So... is there a better/easier way to simply display the # of items in a Tracker?
-R