How to ad Onestat to website

Creating and modifying plugins.
Post Reply
mevrbas
Posts: 3
Joined: Fri Nov 03, 2006 12:25 pm

How to ad Onestat to website

Post by mevrbas »

I am a real novice in in using serendipity and haven't got a clue how to import a onestat code into my website.
Thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to ad Onestat to website

Post by garvinhicking »

Hi!

Have you tried to either install a "HTML Nugget" sidebar plugin and paste your HTML code, or to edit your "index.tpl" template file to insert the required code?

Sadly I've never heard of onestat.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
mevrbas
Posts: 3
Joined: Fri Nov 03, 2006 12:25 pm

Post by mevrbas »

I tried pasting the code, but where you are supposed to see the counter's logo, you still see the whole code.
I will otherwise try your other option, although it sounds quite technical...
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

If you're using the free counter, the code you've been asked to place on your site will go into the html nugget, but before you save this, scroll down the page and make sure 'no' is selected in the 'Perform Markup Transformations" boxes.

Now when you save it and go to your blog you should see your onestat logo.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Also make sure that if you enabled the WYSIWYG editor, you must first switch into source code view (the "<>" button!) before you paste HTML code.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
mevrbas
Posts: 3
Joined: Fri Nov 03, 2006 12:25 pm

Post by mevrbas »

Thanks to the both of you. The counter works (although I don't see the logo on my webpage, but that's o.k. with me)
Post Reply