?
Solved

Hiding FrontPage Counter

Posted on 2003-11-12
8
Medium Priority
?
414 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 900 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
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 create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

777 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