Access counter

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Vgs
Regular
Posts: 26
Joined: Thu Mar 16, 2017 4:45 pm

Access counter

Post by Vgs » Fri Apr 07, 2017 8:39 am

Hi guys... is there any way to add an access counter on my 2K11 theme?

Alina

User avatar
yellowled
Regular
Posts: 7005
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: Access counter

Post by yellowled » Fri Apr 07, 2017 9:28 am

Vgs wrote:is there any way to add an access counter on my 2K11 theme?
Even better, you can do that independent of the theme you use. The plugin serendipity_event_page_nugget (available on Spartacus) is perfect for that – basically, it lets you add any snippet of HTML markup to a specified position on your page, independent of the theme.

Usually, counters and stats tools give you a little snippet that you're supposed to add to the end of your page (the plugin does have an option to emit code at the end of the page). Note that there are two seperate fields for HTML markup in the plugin; usually, you'll want to use the second for your snippet. Also note that you can install and use multiple instances of the plugin (i.e. to include multiple stats tools, which is not really recommended, though).

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

Post Reply