Menu

page hit count in template, how?

Help
Kass Lloyd
2002-03-29
2012-10-11
  • Kass Lloyd

    Kass Lloyd - 2002-03-29

    I would i insert a page hit count in a template in 1.2.2 i did ###HITS### but things have changed quite a bit in 1.3.3. Any help will be much appricated. Thanks

     
    • Geoffrey T. Dairiki

      Try something like:

      This page has been viewed
      <?= $page->get('hits') ?>
      times.

      (Probably somewhere in themes/default/templates/browse.tmpl.)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.