Page 1 of 1

phpgcount 1.0

Posted: Thu Mar 10, 2005 6:33 pm
by maven
I have successfully installed phpgcount 1.0 - thanks!

Now, I would like to move the display location of the counter. By default it is appearing in the upper left hand corner of the page and I do not want it there. I would like to know how to change it's location to the bottom of the page if possible.

Any help is appreciated.

Posted: Thu Mar 10, 2005 8:48 pm
by Klemen
Hi,

You should move the Javascript code you use to display the count to the place in HTML code where you want it to appear.

If you let me know what your website URL is and where you want the count to be displayed I'll see what I can do...

What program do you use to edit/create web pages?

Regards

Posted: Fri Mar 11, 2005 2:44 pm
by Klemen
Hi again,

I just got an idea how you can do that easily:

1. open your web page in your favorite HTML editor (FrontPage, DremWeaver, ...)

2. Type "GCOUNT" (without quotes) where you want the counter to display

3. Save and open your webpage in a plain text editor, like Notepad or Wordpas

4. Find the text "GCOUNT" (without quotes) and replace it with GCount Javascript code

5. Save file and test in browser

Your counter should now display in the place where you initially wrote "GCOUNT".


Hope this helps!

Regards

insane

Posted: Sun Jul 17, 2005 1:08 am
by Red Demon
You are a genius! I wondered the same thing for a while now! So easy (if you know) but so hard if you suck at code (like me)!

Thanks!

Posted: Tue Jul 19, 2005 9:52 am
by Klemen
I'm glad it helped :)

I wrote a short tutorial with an example here:
http://www.phpjunkyard.com/tutorials/cut-paste-code.php

Regards