coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Griffon on September 05, 2006, 09:01:36 PM

Title: HitsLink integration with coppermine gallery
Post by: Griffon on September 05, 2006, 09:01:36 PM
I have a website that contains a coppermine gallery, now I want to be able to use http://www.hitslink.com/
(http://www.hitslink.com/) to monitor my site statistics.

Now basically you do that by adding to each HTML page the following code between the <HEAD> tags:
<!-- www.addme.com web tools statistics hit counter code -->
<script type="text/javascript" src="http://stats.addme.com/tracker.asp?acct=account_name&s=29"></script>
<!-- End www.addme.com statistics web tools hit counter code -->

where account_name is the name of your hitslink account.
Now the problem is that coppermine pages are PHP, so in their FAQ they relate to the questions of monitoring PHP pages
in the following link: http://www.hitslink.com/faqs-implementation.aspx?FID=4367 (http://www.hitslink.com/faqs-implementation.aspx?FID=4367)

I want to monitor the gallery index.php, however I'm not sure exactly what to write and where to put it to make it work.

They say in their faq:
"It is best to contact your IT person or webmaster to make this change."

I contacted my Hosting provider but they advise me to turn to you for my question.

Thanks in advance,
Griffon
Title: Re: HitsLink integration with coppermine gallery
Post by: Joachim Müller on September 05, 2006, 11:41:03 PM
edit themes/yourtheme/template.html
Title: Re: HitsLink integration with coppermine gallery
Post by: Griffon on September 10, 2006, 08:19:55 PM
Thanks man it worked!  :)