The article has been further recommended 166 times.
E-Mailadresse
 
Search
FAQ Search
Product category: Hosting
Article ID: 166
Last updated: 01.09.2010

How do I make changes to the guestbook? (For example, change the background colour or add images etc.)


First log into your webspace using an FTP program and open the folder  "cgi-data" and sub-folder  "guestbook".

You can customise the following files in this folder:
  •   addentry_0.tpl: Guestbook entries page
  •   showgbook_0.tpl: Page with all saved entries
  •   thankyou_0.tpl: Thank you page seen after an entry is submitted
In this article, we will only discuss the showgbook_0.tpl file, which is seen by your website visitors.
The changes described in this article are applicable to other files too.

Copy the file showgbook_0.tpl to your computer after having logged into your website and selecting the correct folder.
Now open the file on your computer with an HTML or text editor. [If you are using Windows, click on "Start", then "Programs", then "Accessories" and finally select "Editor" or "WordPad". If you are using Mac OS X, you can use "TextEdit", located in "Applications".]

 

To insert a yellow background in your guestbook, enter the following command on the first line:

<body bgcolor="#FFFF33">


To insert a background image in your guestbook, enter the following command:

<body bgcolor="#FFFF33" background="..insert-track.."> (*)


To add an additional picture or logo, write the following command on the second line:

<img src="../../gif/guestbook.gif"> (*) oder
<img src="http://www.yourdomain.co.uk/gif/guestbook.gif"> (*)


(*) You can use either a relative or absolute file location:

  • relative: file is located within your domain, example: "../../gif/bg.gif"
  • absolute: complete URL used, example: "http://www.desiredname.co.uk/gif/bg.gif"

    After you have made the changes and saved the file, upload the file to your webspace using the FTP program.
  •