Gossamer Forum
Quote Reply
*/ ??
The title was suppose to be <$site_body>... but it didn't show up , sorry.

Please tell me how to set this to my own 'look'
Then do I insert this <$site_body> ant the top of the templates, and this </body> at the bottom, or what.
and would this be without the reference to .css?

[This message has been edited by RipandRev (edited January 25, 2000).]
Quote Reply
Re: */ ?? In reply to
Here is the scoop!
I dumped the .css just like Eliot said.
Well the "look" is better, I had to add the body tags to reach template.
Now the tables outlining the site name and all, are gone, so I will search around for some decent free templates to replace the one I have not.
Sorry I'm thick sometimes.
thanx
Quote Reply
Re: */ ?? In reply to
There are Templates in the Resource Center. To add a global body tag, here is what you do:

1) Add the following variable in the site_html_templates.pl above the %globals section:

Code:
$site_body = 'body bgcolor="fffff"';

2) Then define this tag in the %globals section in the following manner:

Code:
site_body => $site_body,

3) Then add this tag into your template page in the following manner:

Code:
<html>
<head>
<title><%site_title%></title>
</head>

<%site_body%>
<%site_header%>

HTML CODES

<%site_footer%>

</body>
</html>

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: */ ?? In reply to
Thanx,
I'm going to work on all of this for a few days. I'll let you know how it turns out!

Tammy
Quote Reply
Re: */ ?? In reply to
It really is not complicated!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: */ ?? In reply to
Hi Eliot,
I'm starting to think that you dont sleep much either!
Your patience is wonderfull. Now that I have all this info, and access to other templates, I am going to play around with the look. Really the script seems to work, its just the look I'm working on. I'm fairly new at this type of scripting, how could you tell? I hear your thoughts!
I've got enough now to be less frusterated, I have a day job too, so once I get a good look, I'll let you know...
...or I'll be back for more patient advice.

[This message has been edited by RipandRev (edited January 25, 2000).]
Quote Reply
Re: */ ?? In reply to
Uh...and I don't have a "day job"...I work at a large R&D unit of a Fortune 500 Telecommunication company.

Wink

And...no, I do not sleep much...MAY BE five hours of sleep per night...if I am lucky.

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: */ ?? In reply to
I followed your instructions in your first reply at the top of the page. Here is a copy of the edit I made to the site_html_templates.pl
~~~~~~~~~~~~~~~~~`
$site_body = 'body bgcolor="#80B8C1" text="#2952C6" link="#3163FF" vlink="#00219C" alink="#942163" background="http://www.greaterhamiltonarea.com/links_pages/background.gif"';

%globals = (
site_body => $site_body,
site_header => &site_header,
site_footer => &site_footer,
date => &get_date,

~~~~~~~~~~~~~~~~~~~~~~~~
I followed the rest of your instructions and uploaded, pressed the build option and went to see the changes.
The pages came out wrong.
I only changed the 'new' and 'add' page selections, compare the look with the home page.
What have I left out now?
can you tell?
http://greaterhamiltonarea.com/greaterhamiltonareacgi/links/add.cgi


[This message has been edited by RipandRev (edited January 25, 2000).]
Quote Reply
Re: */ ?? In reply to
Looking in the site_html.pl file (not site_html_template.pl)
I see that there are still <$css> tags.
should these be removed?
Should I put the
~~~~~~~~~~
<title><%site_title%></title>
</head>

<%site_body%>
<%site_header%>
~~~~~~~~
codes into the script in the site_html.pl as well as the site_html_template.pl
**********
The 'look' was correct when I had just entered the html<body> tags right into each template, and if it will stay consistant, maybe I should just stick to that way.
Please advise?!!
thanx
Quote Reply
Re: */ ?? In reply to
NO. In fact you DO NOT need site_html.pl. That file is used if you are NOT using templates!

I would recommend sticking with templates and just use the site_html_templates.pl file!

Regards,


------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: */ ?? In reply to
Thanks I went back to putting the body tag in each template. That works as it should!
Soon!
Have a great night!!