If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
templed background  XML
Forum Index » Support Forum
Author Message
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
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Lotta
Beginner
[Avatar]

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!
[Email] [WWW]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Lotta
Beginner
[Avatar]

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!
[Email] [WWW]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Lotta
Beginner
[Avatar]

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!
[Email] [WWW]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Lotta
Beginner
[Avatar]

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!
[Email] [WWW]
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Thank you!!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum