Author |
Message |
06/02/2005 13:48:54
|
Anonymous
|
Hi!
I was wonder if I can use some of my own background (in gif) instead of the color in the guestbook? Is there someone who knows how to fix it in that case?
thanks//lotta
|
|
06/02/2005 13:57:03
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The BODY tag is found in templates/header.php. Simply add the background="" or add a body section to the CSS.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2005 14:47:00
|
Anonymous
|
Carbonize wrote:The BODY tag is found in templates/header.php. Simply add the background="" or add a body section to the CSS.
OK! Do I have to write the whole src www...in the background="" or how do I refer to my gif? I tried but I get an error message. //Lotta
|
|
06/02/2005 15:42:10
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Absolute URL sis best so background="http://www.xxx.com/image.gif"
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2005 16:31:10
|
Lotta
Beginner
Joined: 06/02/2005 15:32:02
Messages: 5
Location: Sweden
Offline
|
I can't fix it!
I log on to my administration panel in the guestbook, then -> I open the Templates -> Header.php -> in my body line it says <body bgcolor="$VARS[pbgcolor]" link="$VARS[link_color]" vlink="$VARS[link_color]"> I have tried to do as you said but it only been error. Where do I put my background gif code?
I'm a happy beginner as you can understand.
|
www.eliassonz.com! |
|
06/02/2005 16:41:33
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
<body bgcolor="$VARS[pbgcolor]" link="$VARS[link_color]" vlink="$VARS[link_color]" background="http://mydomain.com/image.gif">
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2005 16:54:08
|
Lotta
Beginner
Joined: 06/02/2005 15:32:02
Messages: 5
Location: Sweden
Offline
|
I'm so sorry to tell you it won't work...
Shall I do something after I change the code? I know that the gif is uploaded to my site.
What am I doing wrong?
I get this errors
Warning: fopen(./templates/header.php): failed to open stream: Permission denied in /.../gastbook/lib/admin.class.php on line 193
Warning: fwrite(): supplied argument is not a valid stream resource in /.../gastbook/lib/admin.class.php on line 194
Warning: fclose(): supplied argument is not a valid stream resource in /.../gastbook/lib/admin.class.php on line 200
|
www.eliassonz.com! |
|
06/02/2005 17:04:21
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
As it says at the top of the templates section of the admin you need to give write permission to the templates first. I personally do not recommend doing this as it is a security risk. Either use an FTP client to download the file, edit it on your PC and then reupload it or, and this is my recommendation, download PS Pad which is a text editor with built in FTP client. With PS Pad you can edit the file on your server.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2005 18:22:22
|
Lotta
Beginner
Joined: 06/02/2005 15:32:02
Messages: 5
Location: Sweden
Offline
|
Hi Carbonize!
I did it!!
It works.
Thanks//Lotta
Now I wonder where I can change the table in the guestbook. Can you help me again?
Please//Lotta
|
www.eliassonz.com! |
|
06/02/2005 18:26:06
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Explain what you mean by change?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2005 18:28:48
|
Lotta
Beginner
Joined: 06/02/2005 15:32:02
Messages: 5
Location: Sweden
Offline
|
Oh I'm sorry, I mean the gif thing you know. Change the color to a gif background...
|
www.eliassonz.com! |
|
06/02/2005 19:17:45
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Do exactly to same but with the table tag which I believe is in body.php.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2005 21:26:59
|
Anonymous
|
Thank you!!
|
|
|