forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: rkolech on July 06, 2005, 03:35:18 am

Title: CPG and Website Stats
Post by: rkolech on July 06, 2005, 03:35:18 am
Hi,

This is my 1st post, and its a question.  ???
I am not a PHP exptert, as a matter of fact I just installed it 3 days ago on my websterver.  CPG is working fine for me but I have a small question.  I recently installed an ASP application that keeps track of how many visits I have to my website and creats pretty graphs and such.  In order for this application to work I have to put a line of HTML code into every HTML file I wish to monitor.  The code is called a Monitoring String and it looks like this:

  <script  type="text/javascript" language="JavaScript" src="h$$p://www.mysite.com/myasg/stats_js.asp"> </script>

Unfortunately I cannot put this text into the index.php file and expect it to work, since this is obviously meant to be put into an HTML file.  So I was wondering if this line could be modified so that I could put it into the PHP file and have my stats tracked?  Thanks in advance for any help rendered,

Rob K.
Title: Re: CPG and Website Stats
Post by: Nibbler on July 06, 2005, 03:56:09 am
Put it in your theme's template.html.
Title: Re: CPG and Website Stats
Post by: rkolech on July 06, 2005, 04:43:01 am
Problem solved!  Thanks for your help.