Solved

Hiding FrontPage Counter

Posted on 2003-11-12
8
407 Views
Last Modified: 2013-12-24
I'm a newbie with this.  I just want to hide the front page counter and then read the hits.  If I do the comment out <!--     --> I believe, correct me if I'm wrong, that I won't be able to see the actual number of hits unless I take the comments out and republish briefly.  Anywork around?

Thanks,
Jim
0
Comment
Question by:jimmyr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 300 total points
ID: 9731768
Here's the best way to handle this:

Create an image 3px by 3px or larger as a solid .gif (.jpg will not work), the same color as your background, and save the image in the 'images' folder of your web using the 'save as' command from the drop-down. Do not make the image transparent.

In FrontPage, open the page you want to insert the hit counter in, and choose Insert | Component | Hit Counter, then choose Custom Picture in the Hit Counter Properties box. Type in '/images/yourpic.gif' in the box. (Substitute the name of your picture and use the forward slash as the first character in your file path.) Click OK and save the page. Publish to your server.

To view the count for a particular page, just type in 'http://www.yoursite.com/_private/page.htm.cnt' into the web browser address bar to see your page hit count. Substitute 'page' in the address for the name of the actual page hits you want to view.

Thanks.
0
 

Author Comment

by:jimmyr
ID: 9734102
It certainly sounds like it should work, but I can't make it so.  I created a white.gif.  I saved it to the images folder.  I was careful to not make it transparent. I made sure that I kept the same path the name of the picture and the gif extension.  I used the forward slash before images.  I copied the path listed with website/_private/index.htm.cnt path, since I'm using index.htm as the same page.  I made sure it wasn't an .html doc.  

Doesn't work.

Any tips? Anything that could be missed?

Thanks,
Jim
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9734141
Is this page (index.htm.cnt) in the _private folder?
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

Author Comment

by:jimmyr
ID: 9734670
Yes it is.
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9734701
Then try removing the forwad slash from in front of the image in the Hit Counter Custom Dialog
0
 
LVL 5

Expert Comment

by:M256
ID: 9749242
I think your original idea sounds good, and it is simple too :-)

Try putting the comments <!--  --> around your counter, publish your page, then view it in your browser.  Right click on the page, and click "View Source".  You should be able to see the text between the comment tags.

Be aware, though, savvy web surfers will be able to view this as well.

Matthew
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9831631
Hi Jim,

Did you manage to get this working for you?

Thanks,
seanpowell
0
 

Author Comment

by:jimmyr
ID: 9848565
Not really.  But I did a workaround based on what you told me.  I find using the comments resets, but if I use the image same as the background and then take it off to see the actuall number, then the counter doesnt' reset.  For that reason, I'll give you the points.

Thanks
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question