Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Help on site_html.pl

Quote Reply
Help on site_html.pl
Please Help: I am having problem working with site_html.pl. I had edited all the templates one after the other but my background image STILL doesn't show. The tag and image URL are all quite correct. So I wanted to use site_html.pl instaed. I switched templates off in the links.cfg and rebuilt but still nothing happens. Can anybody help Me PLEEAASSSEEEE!
Quote Reply
Re: Help on site_html.pl In reply to
You have to edit all the sub-routines in your site_html.pl in order for changes to appear in your directory.

BTW: If all you wanted to do is include a common background image...all you had to do is the following:

1) Put the following codes at the top of your site_html_templates.pl file:

Code:
$body = qq|<body background="/path/to/image.gif">|;

2) Then put the following tag in your %globals hash:

Code:
body => $body

3) Then add the following tag to your template files:

Code:
<%body%>

Hope this helps.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums