Est. 2003
Home Help Login Register
News: Welcome to ZboX Webhosting.
10 Megs

10 MB Disk
1 GB Transfer
$10.00 per year
25 Megs

25 MB Disk
2 GB Transfer
$25.00 per year
50 Megs

50 MB Disk
3 GB Transfer
$50.00 per year
75 Megs

75 MB Disk
4 GB Transfer
$75.00 per year
500 Megs

500 MB Disk
10 GB Trans
$100.00 yr.

+  ZboX Webhosting Est. 2003. Now in our Fifth year!
|-+  Help!
| |-+  Problems and/or Questions
| | |-+  html/cgi template control
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: html/cgi template control  (Read 1399 times)
sandy47
Serious Poster
****
Offline Offline

Posts: 167


"You say you want a revolution... well, ya know.."


html/cgi template control
« on: May 27, 2005, 08:28:05 AM »

Bert; is it possible to give us the means to put a default_html.txt or cgi.txt file into our FMs so that we can control the doctype info on new pages? OK, I know it's possible; but is it possible here?? bigeyedsmiley
Logged

         
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: html/cgi template control
« Reply #1 on: May 27, 2005, 12:46:21 PM »

Hi Sandy,
Well I'm sure it's "possible" but I'm not sure what it would entail to implement. Ziteman auto generates the doc type for html pages, so I would have to see how easy that would be to change. I'll get back to you on this.

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: html/cgi template control
« Reply #2 on: May 27, 2005, 01:15:18 PM »

Hi Sandy,
Yup it's possible. Ziteman has two default auto generated pages. One for HTML and one for Perl. So by altering either of those pages you can have pretty much anything you want when you create a html or cgi page. However as there are only the two pages keep in mind that any changes you want would implement EVERY time you make a new html or cgi page. Post the changes you want and I'll change if for you.

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
sandy47
Serious Poster
****
Offline Offline

Posts: 167


"You say you want a revolution... well, ya know.."


Re: html/cgi template control
« Reply #3 on: May 27, 2005, 01:56:45 PM »

Hi Bert... I'm not sure I care that much about a cgi page, but the html default I'd like is..



Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="CONTENT-TYPE" content="text/HTML; charset=iso-8859-1">

<link rel="icon" href="http://sandycor.com/icon.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://sandycor.com/icon.ico" type="image/x-icon">

<title></title>

</head>
<body>

<div align="center">
<script src="../js/menu.js" type="text/JavaScript">
</script>

<br>
<br>

<!--#include virtual="../ssi/copy.html" -->
</div>
<br>
</body>
</html>

<hr>

and cgi...

Code:
#!/usr/bin/perl -w
use CGI::Carp qw(fatalsToBrowser);
use CGI qw(:standard);


Ta muchly, Bert...  banana
Logged

         
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: html/cgi template control
« Reply #4 on: May 27, 2005, 02:11:18 PM »

Done!

beer

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
sandy47
Serious Poster
****
Offline Offline

Posts: 167


"You say you want a revolution... well, ya know.."


Re: html/cgi template control
« Reply #5 on: May 27, 2005, 02:34:38 PM »

I saw that!!  biggrin  Thanks Bert.
Logged

         
Key4song
Newbie
*
Offline Offline

Posts: 7



Re: html/cgi template control
« Reply #6 on: October 27, 2005, 11:47:24 AM »

Hi Bert, Could I also change my HTML to the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>XHTML</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" text="#ffffff" link="#0000cc" vlink="#cc0000" alink="#FFffFF">
<div align="center">

</div>
</body>
</html>

Is it also possible to change the default color of the text to white?  The pink gets blurry to me after a while.

These changes would also apply to my klosedkaption account.

The problem is that the default that is there now doesn't validate.  They require the capitalized version...which is strange since xhtml requires lower case codes otherwise.  This code validates.

Thanks so much.  Linda
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: html/cgi template control
« Reply #7 on: October 27, 2005, 04:44:11 PM »

Hi Bert, Could I also change my HTML to the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>XHTML</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" text="#ffffff" link="#0000cc" vlink="#cc0000" alink="#FFffFF">
<div align="center">

</div>
</body>
</html>

Is it also possible to change the default color of the text to white?  The pink gets blurry to me after a while.

These changes would also apply to my klosedkaption account.

The problem is that the default that is there now doesn't validate.  They require the capitalized version...which is strange since xhtml requires lower case codes otherwise.  This code validates.

Thanks so much.  Linda

Hi Linda,
Sorry for not getting to this earlier. It seems the notification function of the forum is not working. I'll get that fixed. Also I have changed the default html per your request on both accounts.

With regards to the "pink" text, I'm not really sure what you are talking about. Could you elaborate on that a littl more?

Thanks,

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
Key4song
Newbie
*
Offline Offline

Posts: 7



Re: html/cgi template control
« Reply #8 on: October 27, 2005, 09:57:25 PM »

 rolleyes
Hi Bert,

Thanks for doing that, I really appreciate it.  The text that I'm referring to is on the draft page that we edit on in html.  It is the color of the text when looking at the edit page.  At least it looks pink to me. I can make it white on the published page but not the draft.  If it can't be changed I can live with it. I've grown accustomed to white.

Thanks again.  Linda
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: html/cgi template control
« Reply #9 on: October 27, 2005, 10:13:17 PM »

rolleyes
Hi Bert,

Thanks for doing that, I really appreciate it.  The text that I'm referring to is on the draft page that we edit on in html.  It is the color of the text when looking at the edit page.  At least it looks pink to me. I can make it white on the published page but not the draft.  If it can't be changed I can live with it. I've grown accustomed to white.

Thanks again.  Linda

Ahhh ok, now I see. Actually Linda the text color is kind of a very light rose color. We chose that cause it was easy on the eye as opposed to white on a dark background. I'll see what I can do about changing it, but also you might want to consider adusting either the color balance or the brightness and/or contrast on your tv. When those settings are too high it can cause the colors to appear to bleed a bit.

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
Key4song
Newbie
*
Offline Offline

Posts: 7



Re: html/cgi template control
« Reply #10 on: October 28, 2005, 06:43:28 PM »

Hi Bert,
I checked the brightness and its actually a little darker than normal.  I find that easier on the eyes, which may be why I have to strain to see the rose after a while.  I have no problem with the white though on Page Builder on black.

I also noted a slight error in the XHTML code on the key4song account.  An extra < sign got in there which is no problem to delete, but if your back in there at some point perhaps you can delete it.  The klosedkaption page is fine on the html.

Thanks again for your help.

Linda
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: html/cgi template control
« Reply #11 on: October 28, 2005, 08:06:19 PM »

Hi Bert,
I checked the brightness and its actually a little darker than normal.  I find that easier on the eyes, which may be why I have to strain to see the rose after a while.  I have no problem with the white though on Page Builder on black.

I also noted a slight error in the XHTML code on the key4song account.  An extra < sign got in there which is no problem to delete, but if your back in there at some point perhaps you can delete it.  The klosedkaption page is fine on the html.

Thanks again for your help.

Linda

Hi Linda,
Below is the exact code that is the new default for key4song. I'm not seeing any extra < opening tags there. Maybe I'm missing it??

Bert

Code:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>XHTML</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" text="#ffffff" link="#0000cc" vlink="#cc0000" alink="#FFffFF">
<div align="center">

</div>
</body>
</html>
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: html/cgi template control
« Reply #12 on: October 28, 2005, 08:10:46 PM »

Ooops! My bad. I do see it. In the DOCTYPE. Ok that has been fixed.

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

ZboX Webhosting Est. 2003. Now in our Fifth year! | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Page created in 0.538 seconds with 21 queries.