[[PageOutline(2-5,Contents,pullout)]] = Display number of page visits == Description Macro displays how many times was wiki page displayed. This macro accepts from one to three parameters. First parameter is wiki page name which visit count you want to display. Other parameters are optional. Second parameter determines if displaying of macro should update specified page visit count. Accepted values of this parameter are: True, False, true, false, 1, 0. Default value is true. Third parameter specifies number of digits for visit count display. If its value is 0 then visit count is displayed as simple text. Default value is 4. In trac.ini configuration file you can specify time after what cookie used to store information about visited pages on client expires in seconds (0 means as long as session lasts): {{{#!ini [visitcounter] expires = 0 }}} == Bugs/Feature Requests Existing bugs and feature requests for VisitCounterMacro are [report:9?COMPONENT=VisitCounterMacro here]. If you have any issues, create a [/newticket?component=VisitCounterMacro&owner=Blackhex new ticket] but read BugReporting page first, please. == Download Download the zipped source from [download:visitcountermacro here]. == Source You can check out VisitCounterMacro from [/svn/visitcountermacro here] using Subversion, or [source:visitcountermacro browse the source] with Trac. == Installation After installing plugin's egg enable it in environment's trac.ini configuration file or use WebAdminPlugin to do it for you: {{{#!ini [components] visitcounter.core.* = enabled visitcounter.init.* = enabled }}} Then update your environment using: {{{#!sh $ trac-admin upgrade }}} == Example {{{#!ini [[VisitCounter(WikiStart)]] [[VisitCounter(WikiStart, false)]] [[VisitCounter(WikiStart, True, 3)]] }}} == Screenshot [[Image(visit_counter_screenshot.png)]] == Feedback [[Poll(Are you using the VisitCounterMacro?; Yes, it's useful.; No, it's useless.; No, I don't need it.)]] == Change Log [[ChangeLog(/visitcountermacro, 5)]] == Author/Contributors '''Author:''' [wiki:Blackhex] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''