welshwizard Posted December 23, 2002 Posted December 23, 2002 Help, I went to the Counter section in CPanel, previewed and made my HTML, then used FrontPage (Office XP) to place the HTML where I thought it should go. I then previewed it in FP, and uploaded the page, but alas, all I saw was the actual HTML text! What do I need to change or add please ? Here is the HTML that Cpanel made for me : <img src="/cgi-sys/Count.cgi?df=dtjames.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=5"> Thanks. Quote
Lianna Posted December 23, 2002 Posted December 23, 2002 I'm sorry that I can't help with this as it is definitely a frontpage issue and I don't use frontpage. Does anyone out there use FP that can help? Lianna Quote
welshwizard Posted December 23, 2002 Author Posted December 23, 2002 Would it help if I used Dreamweaver? Quote
Lianna Posted December 23, 2002 Posted December 23, 2002 Well, yes and no. Yes, because then I (me, myself) would know how to get your counter implemented. But, no, because there has to be a way to insert raw html into Frontpage, otherwise tons of people wouldn't be using it (contrary to my personal opinion of FP ). If you have Dreamweaver handy, then you could just open the page to contain the counter. Click the toolbar button to "Show code and design view". In the bottom (design) pane, scroll to where you want the counter located and click the cursor into position. Then in the top (code) pane, paste the html generated by cPanel. You might see a placeholder or marker appear in the design pane. Press F12 to preview and make sure that all is well. Save the page and ftp it to the site. Frontpage must have a similar feature to view the code. That is where you must enter the generated code, not the design view. Sorry that I'm not much help. Lianna Quote
Larry Posted December 23, 2002 Posted December 23, 2002 I know in dreamweaver I just do it like this, I tell the program to insert an image, and the location of the image i use the /cgi-sys/Count.cgi?df=dtjames.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=5 for the location of the img, im sure it would work the same in frontpage.. Quote
welshwizard Posted December 23, 2002 Author Posted December 23, 2002 Are you saying that the <img src=" bit need not be there at all? Quote
welshwizard Posted December 23, 2002 Author Posted December 23, 2002 All sorted - I used DreamweaverMX, rightclicked and added HTML there. At first, that didn't work, but I then removed the .dat bit from the HTML in FP and... Waaaaaaaaaaaay ! - Success www.welsh-wizard.net Cheers all - Speak again soon I'm sure Quote
jrogers7 Posted December 29, 2002 Posted December 29, 2002 It's simple to paste the html code into FrontPage. Just click on the html tab to view the code, and type or paste the code there. I did that for the code generated for the counter and it didn't work for me either. Any clever ideas? nm, figured it out, I didn't have a space between img and src. Also, removing the ".dat" helped. The following code works for me (of course you'll have to replace the jrogers7 with whatever your username is). <img src="/cgi-sys/Count.cgi?df=jrogers7|display=Counter|ft=6|md=5|frgb=100;139;216|dd=C"> Thanks Quote
welshwizard Posted December 30, 2002 Author Posted December 30, 2002 This is the probem: If you copy and paste the HTML generated by Cpanel, you'll see that it does NOT transfer accurately. Solution: Write it down and retype it into FrontPage. You'll find that it works perfectly. I thank you. (Applause) Quote
jrogers7 Posted December 30, 2002 Posted December 30, 2002 Yeah, I had that issue too - but only with the "<" and ">" symbols at the front and back of the string. For some reason it pasted the ascii codes instead. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.