Access counter

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

Access counter

Post by Vgs »

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

Alina
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Access counter

Post by yellowled »

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
Post Reply