Item1128: Enhance CounterPlugin
Priority: Normal
Current State: Being Worked On
Released In:
Target Release:
- added better (imho) tag name, PAGE_COUNTER
- converted to use tag registration handlers
- keeps track of counter per topic
- can render the counter for any topic
- improved docs and examples
--
WillNorris - 23 Feb 2009
possible further developments:
- rest handler to read the counter from an AJAX request or SSI
- counter for site as well as individual page counts
- optimization? force counts on only certain pages? (eg, "home", like some publish plugin's includetopics and excludetopics)
- file counter as a tie (to allow alternate stores like db, topic meta-data, topic form data, external file)
- perhaps move to pub, if "required" for external websites to "load" the data
--
WillNorris - 23 Feb 2009
Another possibility:
- Make optionally session-aware so counter is only incremented the first time the page is viewed during a session so that simple page reloads don't bump the counter
--
BryanThale - 05 Feb 2010