phpgcount 1.0

In case you have problems with some other PHPJunkyard script (not that there are THAT many).
Post Reply
maven
Posts: 1
Joined: Thu Mar 10, 2005 6:23 pm

phpgcount 1.0

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Red Demon

insane

Post 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!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply