Solved

Hiding FrontPage Counter

Posted on 2003-11-12
8
382 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
  • 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
 

Author Comment

by:jimmyr
ID: 9734670
Yes it is.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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 update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now