Fullscreen
[Show/Hide Right Column]

Show various statistics for an object

Plugin Stat

tw >= 4.0
This plugin shows some object statistics
{STAT(type=trackeritem, lastday=a, day=a, lastweek=a, week=a, lastmonth=a, month=a, lastyear=a, year=a) /}
{STAT(type=article:wiki, lastday=a:v, lastweek=a:v) /}


Last Day
  • Added tracker items: 0
Day
  • Added tracker items: 0
Last Week
  • Added tracker items: 0
Week
  • Added tracker items: 0
Last Month
  • Added tracker items: 0
Month
  • Added tracker items: 0
Last Year
  • Added tracker items: 3
Year
  • Added tracker items: 0


Parameter

typetrackeritem or wiki or articlemandatorytypes of the object separated with :
parentIdIdoptionalFor a trackeritem can be the trackerId
daya or voptionaladded(a) or viewed(v) the last calendar day - options separated by :
lastdaya or voptionaladded(a) or viewed(v) the last 24 hours - options separated by :
weeka or voptionaladded(a) or viewed(v) the last calandar week - options separated by :
lastweeka or voptionaladded(a) or viewed(v) the last 7 days - options separated by :
montha or voptionaladded(a) or viewed(v) the last calendar month - options separated by :
lastmontha or voptionaladded(a) or viewed(v) the last month (as 30.. days) - options separated by :
yeara or voptionaladded(a) or viewed(v) the last calendar year (ex: 2009) - options separated by :
lastyeara or voptionaladded(a) or viewed(v) the last year (as 365 days) - options separated by :

Image

Limitation
  • viewed tracker items does not work, although prior to 6.1, only "v" could be used for any of the time period parameters, although the results would show added items. Beginning with 6.1, either a or v can be used, but only added items will be shown for trackeritems.



Contributors to this page: lindon132 points  and sylvie7387 points  .
Page last modified on Saturday 04 December, 2010 19:01:15 UTC by lindon132 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki