HowDoYouAddAStatisticsMenu

Last modified by Vincent Massol on 2006/12/10

Question How do you add a statistics menu?
Answer You can look at the code of that page here:

http://www.xwiki.org/xwiki/bin/view/Main/WebHome?xpage=code&

And you will find this bit of code that displays that stats:

<div class="left">
1\.1 Statistics
#\set($\docstats = $\xwiki.getCurrentMonthXWikiStats("view"))
{\table}
Page Views|Visits this Month
<center>$\docstats.getPageViews()</center>|
<center>$\docstats.getVisits()</center>
{\table}
<center>
(Current Month Stats)
</center>
</div>
Tags:
Created by mgrabows on 2005/08/31
    

Get Connected