Open zioth opened 12 years ago
No. 1: As far as I understand what you are asking, this is addressed in the latest release.
Nos. 2-3: It's a simple matter to create a page with a header that gives month and year. Then in the admin panel, you should find a listing of all quickstats pages in a menu box with clickable menu items.
As for the admin panel: General stats for any month can be achieved through individual pages and accessed as suggested in Nos. 2-3 above.
The config option for browsers and bots is a possibility. When I get a bit of time I'll look at it.
Another nice feature would be to request the current month, or all of the current year. That way, you don't have to edit your pages every month.
You can get your "top" numbers by setting the depth parameter. See the plugin page.
You can get all of the current year by selecting all of the months.
You don't have to repeatedly edit your pages if you follow the instructions for using NOCACHE; then your results are automatically kept upt-to-date. And if you set aside a directory for your quickstats pages, you can create a Dokuwiki template which automates the quickstats page creation.
Maybe I didn't explain what I meant very well.
Admin 1. Ok. I understand. It would be nice to get multipe months at the same time though.
Repeatedly editting pages: What I mean is, I create a page which displays July 2012. If I later want to see August 2012, I have to edit the page. It would be nice if there was syntax to say "give me stats for the current month." That way, it would show July stats in July, and August stats in August. This would be better than using a Dokuwiki template, because you wouldn't even have to go to a new page.
On that topic, it could be useful to have a sample of how to do what you're describing with dokuwiki templates in the documentation, since that's probably a common thing for people to want to do.
On 8/1/2012 4:50 PM, zioth wrote:
Maybe I didn't explain what I meant very well.
- Even if getting multiple years is difficult, it would be nice to be able to get multiple months, or a whole year. I don't just want to see stats for April of 2012. I want to see all of 2012 at once combined into one output set (not separated by month).
Admin 1. Ok. I understand. It would be nice to get multipe months at the same time though.
You can do this in the admin panel, where you can select multiple months by holding down the ctrl key (Windows/linux) or the cmd key (mac).
Repeatedly editting pages: What I mean is, I create a page which displays July 2012. If I later want to see August 2012, I have to edit the page. It would be nice if there was syntax to say "give me stats for the current month." That way, it would show July stats in July, and August stats in August.
That's a possibility to think about for the future.
On that topic, it could be useful to have a sample of how to do what you're describing with dokuwiki templates in the documentation, since that's probably a common thing for people to want to do.
I have just posted an example template, which in fact is the one I use myself. See: https://www.dokuwiki.org/plugin:quickstats?&#automating_syntax_plugin_with_dokuwiki_templates
For the page syntax (as opposed to the admin query):
For the admin query:
General: