As usual: Hi!
I want to display some things out of the Statistics plugin (event) in the sidebar. Not all, but just some stuff, like the most commenting people or something.
Is this possible? (If this is asked before: Sorry!)
Display some statistics in the sidebar
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Display some statistics in the sidebar
Hi!
You can do it, but it's very advanced stuff. You must make use of the s9y smarty function "serendipity_hookPlugin". Its parameters are documented on www.s9y.org in the technical documentation. You need to pass it the event hook name of the statistics plugin, and then it will display everything of the statistics plugin.
The other option is to use code of the statistics event plugin and create your own sidebar plugin with that code.
HTH,
Garvin
You can do it, but it's very advanced stuff. You must make use of the s9y smarty function "serendipity_hookPlugin". Its parameters are documented on www.s9y.org in the technical documentation. You need to pass it the event hook name of the statistics plugin, and then it will display everything of the statistics plugin.
The other option is to use code of the statistics event plugin and create your own sidebar plugin with that code.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/