The Way Web Site Support Document

1) Colour changes a) Graphics the main background image pageback.gif the color behind the menu which is provided by fill.gif the seated figure top left statue.gif

All these are stored in the root directory. To change the color scheme prepare new files with the new colors and give them the same names. There is a directory called /backgrounds which currently (10/10/03) has copies called: red_fill.gif red_pageback.gif red_statue.gif orange_pageback.gif orange_fill.gif. b) Buttons

Additionally, the button colors can be changed by following these instructions:

Open the stylesheet file waystyles.css (in the root) either in notepad or in Frontpage.

There are two button style definitions, .button1 and .button2. .button2 is for the larger buttons including the 3 options at the top of each page.

For each one you can change the border color, the background color and the text color. The only thing you should change is the actual hex code e.g to change the background color from red to blue (full) for .button1 you would change: background-color:#ff0000; TO background-color:#0000ff; leaving everything else unchanged. blue:#6AC5F1: 106, 197, 241 green:#2FD92F: 47, 217, 47 orange:#FF8A01: 255, 138, 1 2) Menu background color does not reach to foot of page.

This will only (but always) effect pages where the copy does not reach lower than the bottom of the page without scrolling. The fix is to replace the code:

with

This is found at the foot of each page. The number 100 may need to be changed to suit. At handover this has all been done but may effect new pages with little copy.

Also, if copy is subsequently added to these pages 3) Guestbook

This is largely self-maintaining. When someone adds an entry you will be copied in by email.

The guestbook file itself is: guestbook.html in the root. You can open this and remove any entries. Of course you must make sure you have downloaded the most recent one otherwise when you upload you risk overwriting entries which have been made since you last updated your local copy.

It is essential not to delete the code

The system for updating the guestbook file in this borrowed script is not very sturdy. I recommend maintaining a backup copy.

The system does not offer archiving facilities; when the file gets full you could create your own archive by renaming guestbook.html to say 03_gb.html and creating a new empty one from the original (which must be called guestbook.html). 4) Shopping

On the Online orders page and on the CD-ROM page there are shopping buttons. You can edit existing ones or add new. You will have to edit the code for this. Both these pages have the PayPal form at the top. You do not need to add a new PayPal form for each one. Just add a new button. The new button contains the code which links to the form. Here is an example:

The key things to note are: i) The value=”Surface Mail” – this is the text which appears on the button. ii) The code "shop('Aqui me tienes, Senor Surface mail', '8.50')"

This calls the function shop() with two variables. The first is the name of the product, the second is the price. The name of the product can also be used to specify surface or airmail as in the example. Each value is enclosed in ‘ marks. Thus you must avoid using the ‘ character in the value itself. Since this is for your internal use and not public display this should not be a problem.

To add a new item you need the whole code chunk above.

On the back numbers page article.php you can edit the prices. There is an editable section at the top of the page:

#these 3 values can be edited $cdrom_price = '30.00'; $article_surface_price = '8.00'; $article_air_price = '9.00'; #end edit section

You can change the prices here. You must FTP the file down and edit it in notepad or similar simple text editor. Do not edit PHP pages in FrontPage! (That will be the end of them).

*If this is a real problem it may be possible to rewrite the PHP pages to cope with FrontPage.

For further help contact:

Justin Wyllie Tel 01869 240991 Email [email protected]